Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Lock Rotation
333GameStudio
Jun 19th, 2016
253
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
JavaScript
0.14 KB
| None
|
0
0
raw
download
clone
embed
print
report
var
lockPos
=
0
;
function
Update
(
)
{
transform.
rotation
=
Quaternion.
Euler
(
transform.
rotation
.
eulerAngles
.
x
,
lockPos
,
lockPos
)
;
}
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
I made $15,000 in 2 days
CSS | 12 min ago | 0.23 KB
This summer smells like money
CSS | 13 min ago | 0.24 KB
API Glitch (Docs Leak)
CSS | 14 min ago | 0.24 KB
FB2600 User Handbook v0.91
1 hour ago | 6.06 KB
FB2600 Administrator & Moderator SOP
2 hours ago | 8.13 KB
Untitled
13 hours ago | 7.38 KB
c2l.puter.site
15 hours ago | 0.48 KB
Looksmaxxing
15 hours ago | 1.83 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!