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.

#51 8-Nov-2011 16:39:21

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

Re: AR driving simulation (need help)

the collision tree is for static meshs (like the road or your walls) use other body type for the car

Offline

#52 8-Nov-2011 16:43:09

addriangembel
Member
Registered: 1-Oct-2011
Posts: 46

Re: AR driving simulation (need help)

anything else except the collision tree? or must be something?

Offline

#53 8-Nov-2011 16:45:43

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

Re: AR driving simulation (need help)

only the collisiontree is intended for static mesh
the others can have forces applied.

use the shape in your case

Offline

#54 8-Nov-2011 16:47:16

Nodrev
Scol Language & OS3D developer
From: Nantes, France
Registered: 29-Dec-2009
Posts: 197

Re: AR driving simulation (need help)

Openspace3D uses Newton library for physics, so you can found information about which collision shape is the best for a given usage here:
Newton collision shapes

Offline

#55 8-Nov-2011 16:49:41

addriangembel
Member
Registered: 1-Oct-2011
Posts: 46

Re: AR driving simulation (need help)

thanks arkeon i'll try it... and thanks nodrev for the link... i'll go to the scene right now

Offline

#56 8-Nov-2011 17:05:29

Nodrev
Scol Language & OS3D developer
From: Nantes, France
Registered: 29-Dec-2009
Posts: 197

Re: AR driving simulation (need help)

Scene collision is not supported by OpenSpace3D (look at the dropbox listing all the collisions type that are possible!), because a tree collision works better for most of the meshs, for the same functionalities. As a side node, height-field collision is not supported neither, at least at this time.
So, as far as I understand what you want to do, use a tree collision for the static part of your scene (the road, and other static objects?), and a convex collision (named "shape" in openspace3d) for the car (although a box collision may be sufficient).

Last edited by Nodrev (8-Nov-2011 17:07:18)

Offline

#57 8-Nov-2011 17:08:29

addriangembel
Member
Registered: 1-Oct-2011
Posts: 46

Re: AR driving simulation (need help)

i mean i'm going to taht link... to see it... not using a scene....:D
and it was very nice link.. i understand what physic i should use...

Offline

#58 21-Dec-2011 13:00:06

addriangembel
Member
Registered: 1-Oct-2011
Posts: 46

Re: AR driving simulation (need help)

last thing sir arkeon... i want if the ball contact with the wall(plain with colour white) it will stuck.... and didn't move at all....... by the way using the physic plugin and physic

i still don't understand the physic setting...
here is my xos file
http://www.mediafire.com/?cefy5b1rgkjhdyf

thanks before...

Offline

#59 21-Dec-2011 14:36:01

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

Re: AR driving simulation (need help)

Hi,

if you want to control the ball with the keyboard :
first your ball must have a physic weight
try to move the ball using physic tools plugIt and shose your mesh (not dummy)
and setting the keyb.key down->physic tools.Set omega with a vector in link param, for example "10 0 0"
you can also try with Set velocity for example

Offline

#60 21-Dec-2011 15:27:33

addriangembel
Member
Registered: 1-Oct-2011
Posts: 46

Re: AR driving simulation (need help)

no... the one that i need is how to make the ball didn't move to left side anymore if the ball has been contact with the wall( white plain) i already tried anything but it still move over the wall if i press the A button.... how to make it stop if the ball hit the wall??

Offline

#61 21-Dec-2011 18:46:43

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

Re: AR driving simulation (need help)

just don't use object control or move to, but physic tools plugIT only.

move your object by physic forces, the object control or move to always try to reach the destination so it jump the wall

Offline

#62 24-Jan-2012 09:28:07

addriangembel
Member
Registered: 1-Oct-2011
Posts: 46

Re: AR driving simulation (need help)

very thanks to arkeon finally my papper has finished and i have already graduated..... thanks for your help and for another admin scolring forum.........

you are all very kind and helpfull

Offline

#63 24-Jan-2012 10:51:27

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

Re: AR driving simulation (need help)

You are welcome smile

could we have a link to your paper ?

Offline

#64 24-Jan-2012 19:25:13

Nodrev
Scol Language & OS3D developer
From: Nantes, France
Registered: 29-Dec-2009
Posts: 197

Re: AR driving simulation (need help)

Congratulations smile

Offline

Board footer

Powered by FluxBB