So basically I've made a suspension car and I want to attach the player camera to the chassis, and also I want it rotate not just follow, or in other words, be completely glued to my car.
Can you explain to me or show me how to do this?
So basically I've made a suspension car and I want to attach the player camera to the chassis, and also I want it rotate not just follow, or in other words, be completely glued to my car.
Can you explain to me or show me how to do this?
c = game.Workspace.Camera c.CameraSubject = '(a good part of your chasis)' c.CameraType = 'Attach'
Attach makes the camera rotate with the part. Making the camera subject your chassis will cause it to follow your chassis.
It works great, but as soon as i sit in the seat it changes back to normal. Now how do i fix that?
You'll have to make a script that detects when the player sits in the seat, then it modifies the camera. "Occupant" of a Vehicle seat is a good way.
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
http://wiki.roblox.com/index.php?title=API:Enum/CameraType