Page MenuHomeFeedback Tracker

After small PhysX object enters rest state velocity is always [0,0,0] even when it moves.
New, WishlistPublic

Description

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]

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.

Event Timeline

Killzone_Kid edited Additional Information. (Show Details)
Killzone_Kid set Category to Engine.
Killzone_Kid set Reproducibility to Always.
Killzone_Kid set Severity to None.
Killzone_Kid set Resolution to Open.
Killzone_Kid set Legacy ID to 2898373567.May 7 2016, 7:37 PM