| Blockland Forums > Modification Help |
| Rotating the third person view? |
| (1/1) |
| Demian:
I am in a desperate need for a piece of code that rotates the third person view by 180 degrees so you are looking at your character from the front instead of back. It can be a playertype, console command, script or anything. I just really need this. No. I am not trying to be cheating bastard in minigames. The rear view mirror is for that. I have a legit use for this. |
| Gadgethm:
I'll look into it but no guarantees. Alright, I found the function setOrbitMode, but I am utterly lost as to how it works. Its a function on the cameraObject, so for instance: --- Code: ---findclientbyname("Demian").camera.setOrbitMode(orbitObject, transform, minDistance, maxDistance, curDistance, ownClientObject); --- End code --- You should probably take a look at the Appendix to decipher it. http://www-rohan.sdsu.edu/~stewart/GPGT/Appendix%20A%20-%20Quick%20References.pdf |
| Demian:
Page 46 explains it? I'm not a scripter so I don't really know what to do with this, but I'll try. |
| Space Guy:
This is basically exactly what I was trying to do with the 2D player, except by 90 degrees - impossible for the same reason. There's a vertical tilt option but no horizontal tilt, so you can't do this unless you want your view to be upside down... setOrbitMode might do it, but for a camera not a player type. |
| Demian:
Upside down is fine by me. Is it possible? Edit: Never mind. A new player type with cameratilt set to 3.1 did the trick. |
| Navigation |
| Message Index |