#Dungeon crawler movement & camera lock

1 messages · Page 1 of 1 (latest)

tulip kayak
#

Im making a dungeon crawler system based on psychopomp, the game being 1st person and have two concerns, 1.i disabled the the A and D key so you could only move foward with the w key but is it possible to make the A & D key be used for turning to look another direction i tried and cant figure it out, 2. Is it possible to make it so that the camera is locked only looking forward basically removing freelook? Me and my friend tried but he doesn’t think you can modify the camera in such way, if these are possible how would i do them?

thorny latch
#
  1. i think you 100% can change it using cframes (so it's needed to know how to use them).
  2. you can set camera mode to scriptable and update it's cframe depending on hrp cframe every frame using run service.renderstepped ( also you should make offset so your camera doesn't face from your character but from normal camera view.
tulip kayak
#

Thank you so much, For ‘1.’ Im guessing it will snap to the direction correct? If that is the case is it possible to make the turn look smooth without it just snapping into direction?
-# (I really wish i could provide a video to show you what im trying to achieve but i believe i cant send media)

thorny latch