how to get the body pointer , with the actor

alejandro

09-06-2007 00:16:51

I have one actor . how can i get the body pointer of the actor?

betajaen

09-06-2007 00:18:45

Is it an Actor, or is it a Body "pretending" to be an Actor. If it's the second one, then Body* mBody = static_cast<Body*>(actor).