Posted By: Denn15
physics object pick up powerups - 01/27/13 11:28
in my game i would like to make a physics object collect powerups but i havent managed to get it to work. ive madesomething happen when you collide with it but then the physics object bounces off of it and i would like to make it just continue as it hit nothing and still pick up the powerup.
Posted By: Superku
Re: physics object pick up powerups - 01/27/13 19:07
Use pXent_setgroup and optionally pX_setgroupcollision, then use vec_dist (instead of an event) in a while loop to determine an approximated collision.
Posted By: Denn15
Re: physics object pick up powerups - 01/28/13 19:11
thanks
i can make it work with one entity but im not sure how to make it work with more than one powerup of the same type.