Entraides et échanges autour de la technologie Scol - Informations and exchanges on the Scol technology
Vous pouvez changer la langue de l'interface une fois inscrit - You can change the language once registered
You are not logged in.
Pages: 1
hello arkeon..
how to rotate object with keyboard??
ex: left arrow for rotate to left
right arrow for rotate to right
thx before
Last edited by illutic (19-Aug-2013 21:50:16)
Offline
hello
try using the object rotate plugIT
enable the rotation on start and use the links with parameters
keyright.down->rotate.yaw(1)
keyleft.down->rotate.yaw(-1)
keyright.up->rotate.yaw(0)
keyleft.up->rotate.yaw(0)
Offline
I have tried
when the keydown event, how can i get spinning object, not back to the beginning. What parameters should I change?...
Offline
im sorry if my english is bad, this is what I mean
how when the user presses the left / right arrow(key down) objects get spinning and object stop when the button is released(key up), but not such as turning instance rotate.
in the case that you show, it was only when the button is pressed object rotates 15 degrees and when the object is released back to their previous position
left arrow key down
left arrow key up
Last edited by illutic (23-Jul-2013 19:02:06)
Offline
Hi !
here an example for an object on marker rotated with the left / right arrow keys
http://www.arkeon.dyndns.org/scol/rotate.xos
Offline
succeed.. thx
arkeon, how to remove the dark side in my object?
Offline
you can change the ambient color or the material of your object.
right click on the scene node in the tree > render settings for the ambient color
Offline
Pages: 1