lolb3
|
  |
| Joined: 16 Jan 2010 |
| Total Posts: 2268 |
|
|
| 29 Jul 2015 08:58 PM |
http://www.roblox.com/games/276592059/NOT-PLANES
visit it and you'll get what im talking about. I'm manually controlling the coordinateframe to lock behind the vehicle. The problem with that is that it's laggy as hell. The thing is, the ship is for a space combat game, which requires for the camera to follow the plane, attached to be back of the plane. How can I achieve this? |
|
|
| Report Abuse |
|
|
lolb3
|
  |
| Joined: 16 Jan 2010 |
| Total Posts: 2268 |
|
|
| 29 Jul 2015 08:59 PM |
| attached to the back of the plane* |
|
|
| Report Abuse |
|
|
lolb3
|
  |
| Joined: 16 Jan 2010 |
| Total Posts: 2268 |
|
|
| 29 Jul 2015 09:02 PM |
| btw controls are wasd and tap the up arrow once to get the vehicle going. |
|
|
| Report Abuse |
|
|
lolb3
|
  |
| Joined: 16 Jan 2010 |
| Total Posts: 2268 |
|
| |
|
Marzlyn
|
  |
| Joined: 15 Jun 2014 |
| Total Posts: 4431 |
|
|
| 29 Jul 2015 09:23 PM |
| Use renderstepped if you havent already |
|
|
| Report Abuse |
|
|
lolb3
|
  |
| Joined: 16 Jan 2010 |
| Total Posts: 2268 |
|
|
| 29 Jul 2015 09:25 PM |
| the problem is that I am. I fiddled with cameratypes as well but to no avail. |
|
|
| Report Abuse |
|
|
lolb3
|
  |
| Joined: 16 Jan 2010 |
| Total Posts: 2268 |
|
|
| 29 Jul 2015 09:28 PM |
| The latency part in the title is there by no mistake. I believe that the problem is actually because I'm using renderstepped, but idk what else I could use. |
|
|
| Report Abuse |
|
|
lolb3
|
  |
| Joined: 16 Jan 2010 |
| Total Posts: 2268 |
|
|
| 29 Jul 2015 09:37 PM |
| How does crazyman32 do it? |
|
|
| Report Abuse |
|
|
lolb3
|
  |
| Joined: 16 Jan 2010 |
| Total Posts: 2268 |
|
|
| 29 Jul 2015 10:21 PM |
| bump someone much have come across something |
|
|
| Report Abuse |
|
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
|
| 29 Jul 2015 10:43 PM |
" Attach : Camera follows subject and is forced behind it. "
try using the attach camera type to keep the camera locked behind your aircraft. |
|
|
| Report Abuse |
|
|
lolb3
|
  |
| Joined: 16 Jan 2010 |
| Total Posts: 2268 |
|
|
| 29 Jul 2015 10:46 PM |
| well the problem with that is that the camera needs to go upside down, sorry for not using the most technical terms. thanks for responding though |
|
|
| Report Abuse |
|
|
baldo46
|
  |
| Joined: 28 Jul 2008 |
| Total Posts: 1254 |
|
|
| 29 Jul 2015 10:48 PM |
| did you declare a camerasubject? |
|
|
| Report Abuse |
|
|
lolb3
|
  |
| Joined: 16 Jan 2010 |
| Total Posts: 2268 |
|
|
| 29 Jul 2015 10:58 PM |
| while using scriptable? or attach. when i tried attach I declared the subject. |
|
|
| Report Abuse |
|
|
lolb3
|
  |
| Joined: 16 Jan 2010 |
| Total Posts: 2268 |
|
| |
|
lolb3
|
  |
| Joined: 16 Jan 2010 |
| Total Posts: 2268 |
|
| |
|
Marzlyn
|
  |
| Joined: 15 Jun 2014 |
| Total Posts: 4431 |
|
|
| 30 Jul 2015 04:35 PM |
RenderStepped would cause almost 0 latency if anything, it's literally the way to go
Is have grammar booK? send for is me '-' |
|
|
| Report Abuse |
|
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
|
| 30 Jul 2015 04:38 PM |
@mar
i think it would depend on if his code is efficient, or if he is trying to do "too much stuff" every 1/60th of a second. because even then, you could overload the client with too many tasks pretty quickly, considering your connected function will be called every render-frame. i just don't see how setting the coordinate frame of the camera every renderstep would lag like crazy though.. |
|
|
| Report Abuse |
|
|
lolb3
|
  |
| Joined: 16 Jan 2010 |
| Total Posts: 2268 |
|
|
| 30 Jul 2015 04:41 PM |
| so I figured out the problem. For some reason the client-server communication was too much so when I turned on filteringenabled the client runs it all, perfectly smooth. Y'all can check out the place, it's quite nice. |
|
|
| Report Abuse |
|
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
|
| 30 Jul 2015 04:42 PM |
oh
i figured you had FE on :/
|
|
|
| Report Abuse |
|
|
Marzlyn
|
  |
| Joined: 15 Jun 2014 |
| Total Posts: 4431 |
|
|
| 30 Jul 2015 04:49 PM |
@insta maybe, but i don't think it's the case here
Is have grammar booK? send for is me '-' |
|
|
| Report Abuse |
|
|