i mean in 3D i can’t use it
here my code
this.rigidbody = this.node.getComponent(cc.RigidBody3D);
this.rigidbody.applyForce(cc.v3(0,10,0))
i mean in 3D i can’t use it
here my code
this.rigidbody = this.node.getComponent(cc.RigidBody3D);
this.rigidbody.applyForce(cc.v3(0,10,0))