Effectors
Imagine our hero is crossing an enchanted room, so he starts to float due a powerful spell. In this case, while the hero is within this room, gravity should be contrasted by a (magical) force. As a result, we need to specify that in that room, there is a force that makes our hero levitate.
Similarly, imagine the hero drops a box in a lake. The box doesn't sink at the same velocity as it falls; moreover, it might float. Therefore, in our game, we need to specify that the region delimited by the lake has special physical properties.
Get Getting Started with Unity 5.x 2D Game Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.