PhysX object that has been attached to using "attachTo" command and then detached using "detach" command does not return to its normal simulation by itself. {F23435}
Description
Details
- Legacy ID
- 2390596566
- Severity
- None
- Resolution
- Open
- Reproducibility
- Always
- Category
- Engine
spawn a physx object in the editor, (a car, a rice bag, etc)
name it obj1
stand 5 metres away from it and execute
obj1 attachTo [player];
now walk towards a slope so that the object appear to be in the air
execute
detach obj1;
Observe how physx object remains in the air
shoot at it and it falls down instantly
In case of a car you can get in to any seat and the car will be suspended in the air. Shooting it or trying to drive it will make it fall to the ground.
Event Timeline
Worth mentioning if you attach then detach static objects behaviour is unpredictable as some objects start disappearing when looking at them under different angles and some objects become a walk through objects (no collision)
For some reason I am not able to edit the ticket???
Anyway if i shoot at vehicle once after it is spawned and then attachto detach it it falls ok
Brand new subject. Is there any way to avoid a detached object floating in the air?
Still remaining in 1.52 version.
Attach a fuel canister or a battery (truck) to an object, then detach. It floats!
Then, even enableSimulation true on it doesn't work...
Shooting at objects works but it's not a good solution.