Thursday, February 6, 2014

Naive-ish physics

No Wheelcolliders here. Unlike in the early builds I am using Unity's built-in physics here. As before the terrain types are detected with raycasts. The player is locked to a single plane using position and rotation constraints. The damping of the player's rigidbody, and an input force modifier, are adjusted in response to the terrain type. Here the dot is struggling on ice.

No comments:

Post a Comment