Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Sorry I'm new to coppercube and I was wondering how I would go about that thanks, |
||||
|
|
||||
|
Thankyou, I wouldn't believe how much this helped |
||||
|
Maybe additionally, these Properties like "Rotation", "Position" and "PositionAbs" return and accept a 3D vector variable. But they also accept 3 single parameters. So after a var rot = ccbGetSceneNodeProperty(fromNode,"Rotation"); I can say: var pitch =rot.x; var yaw =rot.y; var roll =rot.z; Then I could set the rotation like ccbSetSceneNodeProperty(fromNode,"Rotation",pitch,yaw+1,roll); so it would progressively turn around the Y axis. |
||||
|
|