Ignore collisions with some objects in certain contexts
Posted
by
Paul Manta
on Game Development
See other posts from Game Development
or by Paul Manta
Published on 2012-07-02T12:29:48Z
Indexed on
2012/07/02
15:24 UTC
Read the original article
Hit count: 295
collision-detection
|unity
I'm making a racing game with cars in Unity. The car has a boost/nitro powerup. While boosting, I wouldn't want to be deviated when colliding with zombies, but I do want to be deviated when colliding with walls.
On the other hand, I don't want to ignore collision with zombies, because I still want to hit them on impact.
How should I handle this? Basically, what I want is for the car to not rotate when colliding with certain objects.
© Game Development or respective owner