Scolring - Forum

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.

#1 1-Sep-2013 14:51:27

dhika11march
Member
From: Indonesia
Registered: 30-Mar-2012
Posts: 227

rotating object

hello, how to rotate an object that controlled by marker?

the case is like this:

I have marker that controlled sun (as object), I want this object can rotate when the marker detected.
But I have been tried anymore and it have no result.

Can you solve this?

Offline

#2 1-Sep-2013 15:15:43

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,161
Website

Re: rotating object

hello,

this case have already been asked several times on the forum.

you mus add a dummy node as a parent of your object.
then set this dummy on the marker.

so you can rotate or move the object on the marker

you can look at the demo in OpenSpace3D/demos/solar_system
to see how it works

Offline

#3 1-Sep-2013 16:19:35

dhika11march
Member
From: Indonesia
Registered: 30-Mar-2012
Posts: 227

Re: rotating object

yes of course I already set the dummy for each object,
but it doesn't work,

I use dummy on marker plugit, rotate plugit, and hide plugit

the rule is like this:

if marker found then rotate plugit "play" and hide plugit "show"

but object don't rotate

Offline

#4 1-Sep-2013 17:37:46

iri
Admin. / Scol language & Scol apps developer
From: France
Registered: 22-Feb-2009
Posts: 2,024
Website

Re: rotating object

dhika11march wrote:

yes of course I already set the dummy for each object,
but it doesn't work,

I use dummy on marker plugit, rotate plugit, and hide plugit

the rule is like this:

if marker found then rotate plugit "play" and hide plugit "show"

but object don't rotate

Please, when you ask how to do something, write what you have already done (or tried) in the first post ! Be clear to have a clear answer smile

Offline

#5 1-Sep-2013 18:12:54

dhika11march
Member
From: Indonesia
Registered: 30-Mar-2012
Posts: 227

Re: rotating object

I'm sorry sad

so how to solve that?

Offline

#6 1-Sep-2013 21:36:31

arkeon
Admin. / Scol language & OpenSpace3D developer
From: Nantes
Registered: 30-Mar-2009
Posts: 5,161
Website

Re: rotating object

this is strange hmm

did you check the rotate plugit, did you set the mesh on it against the dummy ?
check the rotate settings too (speed) and thy the plugIT by checking play on start

Offline

Board footer

Powered by FluxBB