Page MenuHomeFeedback Tracker

PhysX simulation does not return automatically upon "detach"
New, WishlistPublic

Description

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}

Details

Legacy ID
2390596566
Severity
None
Resolution
Open
Reproducibility
Always
Category
Engine
Steps To Reproduce

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

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 2390596566.May 7 2016, 6:09 PM

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

PiepMGI added a subscriber: PiepMGI.May 7 2016, 6:09 PM

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.