Hi, i'm prototyping a 2d top down game with a similiar game play like the old gta 2 game.
my aim now is to make my character can ride any vehicles and i need some advice how to make it
here is what i think :
- i'll make a class thats can store a pointer to any object it's being controlled in void variable than cast it to original object to gain access to it's member function ( very doubt here).
- since in box2d we can't temporary hide physics body from world(tell me if you know how :) ) i'll delete my character when it's ride any vehicles and recreate it when it's no more riding its vehicle.
please tell me what do you think, thanks :)
PS : Sorry for my bad english :)