Shadow Movement V2 – Fixing the Basic Movement

The first step of the ShadowMovementV2 was to take only the essential parts of the code and fix the problems present in version 1:

prototype_04

  • Firstly its ray system was changed to match the diagram above, alongside this the rays range is now used to set its movement speed.

wallclingerv2

Side by Side, Broken Movement, Fixed Movement

  • Secondly the ShadowMovement object is set to always face it’s movement direction, no strafing. This is because there were errors when entering a new orientation from the left or right, by making its movement direction run by a external reference transform, and having the objects actual forward direction be facing the move direction, this problem was solved.
Advertisements
Shadow Movement V2 – Fixing the Basic Movement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s