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 24-May-2015 15:50:52

Alexandre_Brazil
Member
Registered: 8-Dec-2011
Posts: 227

Rotate the wheels of a vehicle PlugIT Physic Vehicle with AR Marker

Hello,

I'm changing the vehicle.xos demo. I want to control the steering wheel (bend left and right) with an AR marker. I did a paper wheel with an AR marker. The problem I'm finding is that the handling of the vehicle becomes bad because using the rotation parameter PlugIT AR Marker to set the Turn parameter PlugIT Physic Vehicle. Is an update delay, which makes the vehicle collide on the track. I thought of solving the problem forcing sending "Turn 0" after sending "Turn 1" or Turn -1 ", causing the vehicle to resume the straight direction faster.
Someone suggests another planking to solve the problem?

Thanks

Last edited by Alexandre_Brazil (24-May-2015 15:52:30)

Offline

#2 24-May-2015 16:01:22

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

Re: Rotate the wheels of a vehicle PlugIT Physic Vehicle with AR Marker

hmm maybe with a var plugit

you set the var value on marker found
then you substract the current value from the initial one to get a relative angle.

Offline

#3 26-May-2015 13:27:43

Alexandre_Brazil
Member
Registered: 8-Dec-2011
Posts: 227

Re: Rotate the wheels of a vehicle PlugIT Physic Vehicle with AR Marker

It worked perfectly. Thank you for your invaluable help.

Offline

#4 26-May-2015 17:06:34

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

Re: Rotate the wheels of a vehicle PlugIT Physic Vehicle with AR Marker

great smile you're welcome

Offline

Board footer

Powered by FluxBB