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 3-Apr-2014 17:02:26

cpt
Member
Registered: 4-Mar-2014
Posts: 6

generate points

Is there a way to make an object like a target and make it generate points depending on where abouts it hits?

Offline

#2 3-Apr-2014 17:16:47

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

Re: generate points

Hi

you could get the physic collision position with physic tool plugIT and add an object with instantiate plugIT

Offline

#3 10-Apr-2014 10:22:53

cpt
Member
Registered: 4-Mar-2014
Posts: 6

Re: generate points

Thanks arkeon.

Im trying to add keyboard funtion (arrow key movment of object) . Im using a keyboard inst and an object control plugIT but when i set it up and link it it does not move the object. what am i doing wrong?

I have set an active camera the object just wont move for me.

Offline

#4 10-Apr-2014 10:24:27

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

Re: generate points

did you get a look on the example : examples\basics\player_control
all remains in the links parameters

Offline

#5 10-Apr-2014 13:10:09

cpt
Member
Registered: 4-Mar-2014
Posts: 6

Re: generate points

Thanks for your quick reply,

I cant see anything that helped me. sorry very new to this.

i've got the arrow up key to work with parameter set to 0 .1 0 which moves it up the way i want.

what parameters should i use for down, left & right?

is there a tutorial on setting parameters?

Offline

#6 10-Apr-2014 13:24:51

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

Re: generate points

this is a vector X Y Z
so if you want translation
up -> 0 1 0
down 0 -1 0
right 1 0 0
left -1 0 0

Offline

#7 10-Apr-2014 13:30:23

cpt
Member
Registered: 4-Mar-2014
Posts: 6

Re: generate points

no probs thanks iv now worked it out. thanks arkeon

Offline

#8 10-Apr-2014 18:27:29

cpt
Member
Registered: 4-Mar-2014
Posts: 6

Re: generate points

Hi arkeon I want to make the space key turn on physics to when I press the key the object will fall onto my target using gravity. is there a way of doing this?

Offline

#9 10-Apr-2014 19:20:57

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

Re: generate points

yes there is the physic tools plugIT which allow you to set a physic body mass, velocity ...

Offline

Board footer

Powered by FluxBB