small PhysX object enters rest state after about 4- 5 seconds of existing and not moving. If this object then set in motion with setVelocity, both velocityModelSpace and speed change but velocity returns [0,0,0]
Description
Description
Details
Details
- Legacy ID
- 2898373567
- Severity
- None
- Resolution
- Open
- Reproducibility
- Always
- Category
- Engine
Steps To Reproduce
run this in editor
- spawn {
box = "Land_Ammobox_rounds_F" createVehicle [0,0,0];
box setPos (player modeltoworld [0,5,0]);
sleep 5; comment "<---- allow object to enter rest state";
box setVelocity [0,0,10];
onEachFrame {
hintSilent format [ "%1\n%2\n%3", speed box, velocityModelSpace box, velocity box ];
};
};
this will create an ammo box and after 5 second will throw it in the air. velocity reads [0,0,0] all the time.