Closed lucas-jones closed 2 years ago
I'm having issue using the function setKinematicTarget a PxRigidDynamic. When I call the function I get
setKinematicTarget
PxRigidDynamic
RuntimeError: memory access out of bounds
Code:
body.setRigidBodyFlag(PhysX.PxRigidBodyFlagEnum.KINEMATIC, true); body.setKinematicTarget(new PhysX.PxTransform(new PhysX.PxVec3(0, 0, 0), new PhysX.PxQuat(0, 0, 0, 1)));
Has anyone had any success in creating a Kinematic body?
Okay ignore me 😅 setKinematicTarget can only be called once the body has been added to scene!
I'm having issue using the function
setKinematicTarget
aPxRigidDynamic
. When I call the function I getCode:
Has anyone had any success in creating a Kinematic body?