April 27, 2024, 03:36:42 AM
Welcome,
Guest
Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
IRC channel - server:
waelisch.de
channel:
#wme
(
read more
)
Home
Help
Search
Calendar
Login
Register
Wintermute Engine Forum
>
Wintermute Engine
>
Technical forum
>
Topic:
3D Actor Orientation
« previous
next »
Pages: [
1
]
Print
Author
Topic: 3D Actor Orientation (Read 2902 times)
0 Members and 1 Guest are viewing this topic.
ekt
Lurker
Karma: 0
Offline
Gender:
Posts: 3
3D Actor Orientation
«
on:
March 26, 2007, 01:33:16 PM »
Do I have a way to precisely control the orientation of a 3D actor?
Logged
Mnemonic
WME developer
Administrator
Addicted to WME forum
Karma: 41
Offline
Gender:
Posts: 5683
Re: 3D Actor Orientation
«
Reply #1 on:
March 26, 2007, 05:26:19 PM »
Code: WME Script
actor.
DirectionAngle
=
123
;
// where 123 is an angle in degrees
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum.
ekt
Lurker
Karma: 0
Offline
Gender:
Posts: 3
Re: 3D Actor Orientation
«
Reply #2 on:
March 26, 2007, 05:42:56 PM »
thanks Mnemonic
what i was searching is a way to specify a rotation over an arbitrary axis, like
Code:
[Select]
actor.RotateOnVector(x,y,x,teta)
where x,y and z represent the rotation vector and teta the angle of rotation. does it makes sense?
i saw DirectionAngle but it sounded to me as limited on a fixed axes
Logged
Mnemonic
WME developer
Administrator
Addicted to WME forum
Karma: 41
Offline
Gender:
Posts: 5683
Re: 3D Actor Orientation
«
Reply #3 on:
March 26, 2007, 07:12:55 PM »
At the time being you can only change the direction the actors are heading.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum.
ekt
Lurker
Karma: 0
Offline
Gender:
Posts: 3
Re: 3D Actor Orientation
«
Reply #4 on:
March 26, 2007, 07:58:55 PM »
i see. thanks for the quick answer
Logged
Print
Pages: [
1
]
« previous
next »
Wintermute Engine Forum
>
Wintermute Engine
>
Technical forum
>
Topic:
3D Actor Orientation