But I can't seem get it by body handle.
here are my code that remove trigger
Code: Select all
public void RemoveKinemtic(int handle)
{
handleKinematicUnits.Remove(handle);
Simulation.Bodies.Remove(handle);
}
'
Code: Select all
public void RemoveKinemtic(int handle)
{
//System.Threading.Thread.Sleep(10000);
if (handleKinematicUnits.ContainsKey(handle)) {
handleKinematicUnits.Remove(handle);
Simulation.Bodies.Remove(handle);
}
}