forked from LeenkxTeam/LNXSDK
moisesjpelaez - General Fixes
This commit is contained in:
parent
1c20e03e0c
commit
9824dc5a44
@ -153,6 +153,7 @@ class RigidBody extends iron.Trait {
|
||||
if (!Std.isOfType(object, MeshObject)) return; // No mesh data
|
||||
|
||||
transform = object.transform;
|
||||
transform.buildMatrix();
|
||||
physics = leenkx.trait.physics.PhysicsWorld.active;
|
||||
|
||||
if (shape == Shape.Box) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user