GameDevelopmentToolset
GameDevelopmentToolset copied to clipboard
VAT RigidBody pivot is misplaced in game engine
The pivot is misplaced in game engine (Unity in my case) when exporting a rigid body simulation with the VertexAnimationTextures ROP.

Here is a fix:
- Go into VertexAnimationTextures ROP/rigid_obj/REFERENCE_MESH
- Select the Attribute Wrangle called "reset_to_rest_P_and_orient"
3 Replace
@P = v@rest;by@P = v@pivot;
cool