top of page
  • Black Twitter Icon
Search

Character Controller

For this post I've been working on the character controller. Up until this point I've been using a rigidbody component to drive the controller but I found that it wasn't giving me smooth results for traversing the terrain. Instead, I've swapped to the character controller component which give me more fine tune control for sloped surfaces meaning less stepping when going up and down slopes. The camera controls have also been improved and now have smoothing applied so the camera isn't so snappy. This affect is achieved through using the Playmaker action "Smooth Look At" and required a different method than before for rotating the camera. On the character controller asset there is an empty object at eye level called "rig", attached to this is another empty object named "LookAt" . Having the "LookAt" attached to the "rig" allows me to only rotate the "rig" using the mouse position and then use the "LookAt" as the target object for the "Smooth Look At" action. In the last part of the video you can see the "LookAt" object being rendered as a cube to make it easier to see how the camera has to catch up to where the mouse is giving a smoother camera feel.


*The reason for the low res video is the footage is being upscale from a smaller frame*


 
 
 

Comments


For regular updates - SUBSCRIBE!

Thanks for submitting!

  • Twitter

© 2023 by 'Aka'Aka Island Proudly created with Wix.com

bottom of page