#move player in world space not relative to camera

1 messages · Page 1 of 1 (latest)

tame condor
#

there's a boolean in the default "BaseCharacterController" module for this but i don't think it can be updated at runtime

#
self.moveVectorIsCameraRelative = true
neon pagoda
#

are you trying to make movement relative to the characters position?

tame condor
#

It's more like

#

WASD just moves the character in those directions

#

and the camera isn't taken into account

#

W = vector3.new(0,0,1)
A = vector3.new(-1,0,0)
S = vector3.new(0,0,-1)
D = vector.new(1,0,0)

#

something like this

neon pagoda
# tame condor Kinda?

the only thing I was able to accomplish with that system is using tank style controls, since it makes movement linear to the characters position despite the camera angle. If you're interested I can find the tank control script for you

tame condor
#

Whenever you have time though

#

No rush

neon pagoda
#

not sure how that looks, never been prompted that message before, but this is the whole script(local of course). Not my doing either got it from devforum. Hope it helps ya