mirror of
https://github.com/OpenTrespasser/JurassicParkTrespasser.git
synced 2024-12-18 14:41:56 +00:00
18 lines
351 B
Plaintext
18 lines
351 B
Plaintext
Utility RemoveRotation "Remove Rotation"
|
|
(
|
|
button processSelection "Process Selection"
|
|
|
|
on ProcessSelection pressed do
|
|
(
|
|
Objarray = selection as array
|
|
oc = ObjArray.count
|
|
for i = 1 to oc do
|
|
(
|
|
o = ObjArray[i]
|
|
oPos = o.pos
|
|
o.rotation = (quat 0 0 0 1)
|
|
o.scale = [1,1,1]
|
|
o.pos = oPos
|
|
)
|
|
)
|
|
) |