I’m trying to generate procedural terrain, and part of that involves setting the mesh rigid body to passive/non-Dynamic via Haxe. I have tried rb.body.activate(false) as well as rb.setActivationState() to multiple values without results.
Is this possible to do currently via Haxe?
Here’s how I’m implementing my rigid body currently If it helps:
var rb = new armory.trait.physics.RigidBody();
// Set as passive/non-Dynamic
Sorry to necro this, but it seems that now armory.trait.physics.RigidBody has no parameters on it’s constructor, and if I try to use armory.trait.physics.bullet.RigidBody(0) the rigid body is still active, how would you do now to create a passive rigid body or to alter other rigid body parameters?