Hey everyone,
I’m currently working on a system that involves attaching a prop to a vehicle using AttachEntityToEntity
, and I ran into a limitation I can’t seem to get around.
Context:
I attach a rotating object (e.g., a fan or turbine prop) to the hood of a vehicle to simulate a spinning turbo rotor. The attachment works fine — the prop stays where it should — but I can’t get it to rotate after being attached.
I’ve tried using:
SetEntityRotation
(no effect after attachment)SetEntityHeading
(same result)SetEntityQuaternion
(same result)
Nothing seems to visually update the rotation once the entity is attached to the vehicle.
My question:
Is there any way to update the position and/or rotation of an entity after it has been attached with AttachEntityToEntity
?
If not, what would be the best alternative to simulate a spinning rotor while keeping it synced with the vehicle?
Any help, insight or workarounds are appreciated!
Thanks in advance.