#Humanoid Camera Rotation Issue
1 messages · Page 1 of 1 (latest)
Thats all I have right now and
CameraController.cs
https://paste.myst.rs/xyi16ipr
a powerful website for storing and sharing text and code snippets. completely free and open source.
Whenever you have time check all these screenshots and the camera controller script I sent because I am leaving right now and I will be back tomorrow to see and continue on.
i think you could have the camera follow the head with a relative offset position and rotate as much as you rotate the spine,
right now, it looks like this because the spine rotates everything after it in the hierarchy, but the camera is just rotating around its axis, so the gun overall rotates and changes position(because it is at a different local position relative to the spine bone), while camera is just rotating.
So, I cant really understand how to do it bro. I mean check how it behaves right now
It is ok but actually my weapon and the arms of the character they should move with the camera in order to make it look and feel smooth
actually you get the character to look around and camera is supposed to adapt , not the opposite
maybe take a look at animation rigging package
what do you recommend to do btw, do I really have to continue with this or just have horizontal rotation and thats fine do I really have to fix this advanced issue because its for a college project
we have to create AI basically not advanced FPS body
if you don't need full body fps, you just want fps view , then you can just have arms with the weapon, and the camera be the parent of the arms and weapon
so rotating the camera will rotate the arms and weapon altogether
its much simpler
if you don't need full body for the player
the problem is I already have walk animations and all these stuff
I have created all these stuff with FSM
uh, if you don;t need full body
you probably don't need animations (most of them)
movement effect on the weapon can be done through script
yes I know probably I am gfoing to keep only torso and weapon I am going to remove head, legs and animation clips
right?
or basically I can keep them but I can just remove the animation clips and clamp the values afterwards so that player wont be able to see character full body
right?
What do you really recommend me to do because I have deadlines in 2 months I have to submit my projects and I dont want to waste my time?
I have to create steering behaviours, behavior trees, fsm, goap for AI
and you know I dont have to waste my time on the Humanoid thing
as i said, if you don't need full body, just have arms and a weapon
thats what most fps games do anyways
so you would have your camera as the parent of the weapon and arms
camera rotates only