Kaskhamun
|
  |
| Joined: 01 Mar 2016 |
| Total Posts: 160 |
|
|
| 27 Mar 2016 08:37 AM |
As in, the camera is great and all but instead of doing this:
http://prntscr.com/aknnwu
Is it possible to do this?
http://prntscr.com/aknp20
Any techniques or methods to do this would be VERY well appreciated!
-- Thank you yer lovin' code junkies! |
|
|
| Report Abuse |
|
|
Kaskhamun
|
  |
| Joined: 01 Mar 2016 |
| Total Posts: 160 |
|
|
| 27 Mar 2016 08:38 AM |
P.S I just flipped the image, not actually done it, or else there'd be no need for you gentlemen and gentleladies.
-- Thank you yer lovin' code junkies! |
|
|
| Report Abuse |
|
|
Kaskhamun
|
  |
| Joined: 01 Mar 2016 |
| Total Posts: 160 |
|
|
| 27 Mar 2016 09:14 AM |
Bump.
-- Thank you yer lovin' code junkies! |
|
|
| Report Abuse |
|
|
|
| 27 Mar 2016 09:18 AM |
| idk, but imma test stuff out for u rn |
|
|
| Report Abuse |
|
|
KLGA
|
  |
| Joined: 19 Apr 2014 |
| Total Posts: 2571 |
|
|
| 27 Mar 2016 09:20 AM |
| It's definitely possible, I remember seeing crazyman32 doing it in one of his jet games. I have no clue how to do it though. |
|
|
| Report Abuse |
|
|
|
| 27 Mar 2016 09:24 AM |
ok i figured out how to do it, idk what u want to do with it now
by changing the cframe of the camera u can rotate it |
|
|
| Report Abuse |
|
|
|
| 27 Mar 2016 09:25 AM |
| idk how u want it to work, but its probably gonna be a lot of math |
|
|
| Report Abuse |
|
|
KLGA
|
  |
| Joined: 19 Apr 2014 |
| Total Posts: 2571 |
|
|
| 27 Mar 2016 09:27 AM |
@Aggressive
Just like:
camera.CFrame = workspace.Part.CFrame * CFrame.Angles(math.rad(180),0,0)
? |
|
|
| Report Abuse |
|
|
|
| 27 Mar 2016 09:28 AM |
| yeah basically, but that will only work from one view and if the camera is rotated it no longer works |
|
|
| Report Abuse |
|
|
c9_io
|
  |
| Joined: 15 Feb 2014 |
| Total Posts: 2642 |
|
|
| 27 Mar 2016 09:28 AM |
Relative to the orientation of the plane?
http://www.roblox.com/unnamed-item?id=385096183 Ready for Sword Art Online : The Beginning in 2017. Ready to waste a sh[]t ton of money on VR tech. |
|
|
| Report Abuse |
|
|
|
| 27 Mar 2016 09:29 AM |
yeah camera cframe is relative to the plane, not to the person
thats why its tricky |
|
|
| Report Abuse |
|
|
c9_io
|
  |
| Joined: 15 Feb 2014 |
| Total Posts: 2642 |
|
|
| 27 Mar 2016 09:33 AM |
Uhhh out of the top of my head without math it would be something like Attach
http://www.roblox.com/unnamed-item?id=385096183 Ready for Sword Art Online : The Beginning in 2017. Ready to waste a sh[]t ton of money on VR tech. |
|
|
| Report Abuse |
|
|
|
| 27 Mar 2016 09:34 AM |
| im pretty sure the camera cant be rotated if u dont set the exact cframe |
|
|
| Report Abuse |
|
|
Kaskhamun
|
  |
| Joined: 01 Mar 2016 |
| Total Posts: 160 |
|
|
| 27 Mar 2016 09:35 AM |
| I suppose attaching the camera to the plane and updating its cframe a lot would work? But that might look horrible if there's too much lag. |
|
|
| Report Abuse |
|
|
|
| 27 Mar 2016 09:36 AM |
| if there is any stuttering, it will be because of the airplane, not the camera |
|
|
| Report Abuse |
|
|
|
| 27 Mar 2016 09:37 AM |
and if the airplane were stuttering, the normal camera would look bad too
so, yeah |
|
|
| Report Abuse |
|
|
c9_io
|
  |
| Joined: 15 Feb 2014 |
| Total Posts: 2642 |
|
|
| 27 Mar 2016 09:37 AM |
true
http://www.roblox.com/unnamed-item?id=385096183 Ready for Sword Art Online : The Beginning in 2017. Ready to waste a sh[]t ton of money on VR tech. |
|
|
| Report Abuse |
|
|
|
| 27 Mar 2016 09:38 AM |
it shouldnt be too difficult to script the camera if on an airplane
just copy the cframe of a straight part on the plane
then the camera can match that |
|
|
| Report Abuse |
|
|
Kaskhamun
|
  |
| Joined: 01 Mar 2016 |
| Total Posts: 160 |
|
|
| 27 Mar 2016 09:39 AM |
unless you somehow make a really fast interpolator that tracks between cframes..?
If it stutters then it would just glide to the stutter point instead of jolt horribly. |
|
|
| Report Abuse |
|
|
|
| 27 Mar 2016 09:40 AM |
what does that mean that it would glide to stutter instead of jolt?
|
|
|
| Report Abuse |
|
|
|
| 27 Mar 2016 09:43 AM |
you can bind your camera script to update every single frame at the same speed as the default camera
the only lag would be if the plane does not move smoothly through the air because the camera is based on the plane's position |
|
|
| Report Abuse |
|
|
Kaskhamun
|
  |
| Joined: 01 Mar 2016 |
| Total Posts: 160 |
|
|
| 27 Mar 2016 09:43 AM |
Um, I might just be talking out of my rear on that one, sorry xD
However it'd be awesome if ROBLOX allowed for an option to "IgnoreXYZAxis" in reference to vehicle seats, so the camera ALWAYS fixes to the same direction as the vehicle seat. |
|
|
| Report Abuse |
|
|
|
| 27 Mar 2016 09:44 AM |
or you can just copy the vehicle seat's cframe onto the camera
then there is no issue |
|
|
| Report Abuse |
|
|
|
| 27 Mar 2016 09:45 AM |
camera.CFrame = vehicleseat.CFrame
just tried that and it works just fine |
|
|
| Report Abuse |
|
|
Kaskhamun
|
  |
| Joined: 01 Mar 2016 |
| Total Posts: 160 |
|
|
| 27 Mar 2016 09:46 AM |
| Actually better name for it, "RelativeXYZToSeat"? so it always follows the same direction as the seat? |
|
|
| Report Abuse |
|
|