Hey,
I’d like to retrieve the RigidBodyControl of an item to use it within the collision method. So for now I have something like this:
[java]public void collision(PhysicsCollisionEvent event) {
if (name.equals(event.getNodeA().getName())) {
event.getNodeB().getControl(arg0).applyIpulse(…);
}
}[/java]
What I wonder is, what to put instead of “arg0” so I do retrieve the NodeB RigidBodyControl ?
Edit: Problem solved… arg0 = RigidBodyControl.class
RigidBodyControl.class?
Yeah I edited the topic… I found it after I posted.