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 15-Apr-2011 15:45:52

slavavs
Member
Registered: 9-Apr-2011
Posts: 137
Website

move a selected object with the keyboard

how to move the selected object with the keyboard (up, down, left, right, on all axes)? his turn at a certain (specified), the angle many times in a row? I used the move, move to, rotate, rotate to, did not work:) (I'm doing something wrong)

Offline

#2 15-Apr-2011 18:35:33

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

Re: move a selected object with the keyboard

Hi slavavs !

i made a little example here : link

copy the file in your scol partition directory and open it into openspace3d

Offline

#3 15-Apr-2011 20:12:08

slavavs
Member
Registered: 9-Apr-2011
Posts: 137
Website

Re: move a selected object with the keyboard

another big thank you! Now the questions. Object rotates smoothly, how to do that he would turn 45 degrees at multiple button (ie clicked on turned 45, has pressed turned 45 ...).
Up, down, left, right, on all axes - this is for the movement - do not turn (when pressed on the keyboard up - it moves up...). Sorry for such questions, but I have a unique problem

Last edited by slavavs (15-Apr-2011 20:20:45)

Offline

#4 15-Apr-2011 21:56:41

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

Re: move a selected object with the keyboard

to turn on pitch (X) yaw (Y) Roll (Z) just set the link parameter to object control with degree you want to turn.
(i'm not sure of what you mean)

Offline

#5 16-Apr-2011 07:05:23

slavavs
Member
Registered: 9-Apr-2011
Posts: 137
Website

Re: move a selected object with the keyboard

how to move objects on the axes in a straight line from the keyboard (to move up, move down ...)?

Offline

#6 16-Apr-2011 12:10:40

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

Re: move a selected object with the keyboard

Ok, I finally understand what you want ^^

It's a viewer application, with object dynamically loaded in it, and with some 45° smooth rotation (as like as there were pre-defined position). So, for me, the simplest way to do, is to position a dummy where you want to show your object, and to add 6 dummy to where you want to position the camera (up / down / left / right / front / back).
Then you can certainly use goto PlugIt or something like that to obtain smooth movement (and a set direction to the first dummy to orient the camera). I let Arkeon tell you which plugits to use, but I think that it's definitively the way to do.

Nodrev

<edit>My description is for 90° rot, but it's the same way of doing</edit>

Last edited by Nodrev (16-Apr-2011 12:11:37)

Offline

#7 16-Apr-2011 20:16:02

slavavs
Member
Registered: 9-Apr-2011
Posts: 137
Website

Re: move a selected object with the keyboard

I realized that I can not describe to you what I want. Let's order. First I make the menu. The menu will consist of the buttons. Each button corresponds to an object. When you click on the object will appear on the screen. Further, this object should be put into place. In order to put it, it must move. Now I was faced with the problem of how to move an object. As it rotated, I understand. Ideally I'd like to be able to not move the object to the desired point, and point your mouse at this point and he moved there. This principle is binding. I find it difficult to explain this, it would be easier for Russian:) But try. I chose the menu object - the base (it is located below the first). Further, on this basis I have to put the supports (pillars). Based on the need to wash the point where they were put, to keep alignment. I choose the pipe. Now it should be put in the right spot at the base. There are two ways. move it back from the keyboard or select it and find a point where it should be put. understand what I'm saying? If yes, give advice how to do it.

Offline

#8 18-Apr-2011 08:37:18

slavavs
Member
Registered: 9-Apr-2011
Posts: 137
Website

Re: move a selected object with the keyboard

someone help me understand how to manage the object at the keyboard. All described in a previous letter. this problem can still imagine how the control character from a third party. (or control of the aircraft)

Last edited by slavavs (18-Apr-2011 08:41:32)

Offline

#9 18-Apr-2011 08:41:03

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

Re: move a selected object with the keyboard

if you want to move the object with a mouse click
you can use the input>mouse plugIT and check 3D position
link click event to an object moveto plugIt

Offline

#10 18-Apr-2011 08:45:54

slavavs
Member
Registered: 9-Apr-2011
Posts: 137
Website

Re: move a selected object with the keyboard

point at which I want to move in the construction design is constantly changing. A moving object must be with high accuracy.

Offline

#11 18-Apr-2011 09:12:42

slavavs
Member
Registered: 9-Apr-2011
Posts: 137
Website

Re: move a selected object with the keyboard

You can even still simplify the task. How to make an object move to the right with the keyboard? not move from point to point and at any distance

Last edited by slavavs (18-Apr-2011 09:27:51)

Offline

#12 18-Apr-2011 09:40:19

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

Re: move a selected object with the keyboard

I made some changes for the next openspace3d release in object control plugIT for this
the translation action was missed

Offline

#13 18-Apr-2011 09:42:32

slavavs
Member
Registered: 9-Apr-2011
Posts: 137
Website

Re: move a selected object with the keyboard

what date of wait?

Offline

#14 18-Apr-2011 18:58:35

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

Re: move a selected object with the keyboard

the next release will come near the end of april

Offline

#15 2-May-2011 20:23:52

slavavs
Member
Registered: 9-Apr-2011
Posts: 137
Website

Re: move a selected object with the keyboard

as a success with the release?

Offline

#16 2-May-2011 20:29:40

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

Re: move a selected object with the keyboard

under progress smile

i'm working on the different ideas and proposal from the forum.
you're example and possibly some plugIt modification / add are on my TODO list ^^

we worked on augmented reality in openspace for the release coming smile

i'll do my best to finish all this before the next monday

Offline

#17 2-May-2011 20:36:58

slavavs
Member
Registered: 9-Apr-2011
Posts: 137
Website

Re: move a selected object with the keyboard

Thank you. I do not hurry smile  Do you require. As will be ready to tell how something

Offline

#18 12-May-2011 21:32:23

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

Re: move a selected object with the keyboard

Hi slavas !

the new OpenSpace3d release is done smile

an example of instantiate object manipulation is available in  "program files\scol voyager\partition_LockedApp\examples\advanced\instantiate"

the example show the add of new cube with the space key, and then a click on a cube make it movable using the arrow keys

Offline

#19 14-May-2011 17:54:12

slavavs
Member
Registered: 9-Apr-2011
Posts: 137
Website

Re: move a selected object with the keyboard

Wow smile
thank you
will study

Offline

#20 14-May-2011 18:12:35

slavavs
Member
Registered: 9-Apr-2011
Posts: 137
Website

Re: move a selected object with the keyboard

right question. how to move forward and backward

Offline

#21 14-May-2011 18:32:34

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

Re: move a selected object with the keyboard

for that you need to add keys or action from an interface and change the Z axis

Offline

#22 14-May-2011 18:50:37

slavavs
Member
Registered: 9-Apr-2011
Posts: 137
Website

Re: move a selected object with the keyboard

Only now I understand the logic. thank you so much.

Offline

#23 14-May-2011 18:51:21

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

Re: move a selected object with the keyboard

you are welcome smile

Offline

#24 18-May-2011 10:38:01

slavavs
Member
Registered: 9-Apr-2011
Posts: 137
Website

Re: move a selected object with the keyboard

I want to make an automatic increase of the price after adding an object. For example the object is worth $ 1. I added three objects. A text box labeled rates should be changed to $ 3. Can this be implemented?

Offline

#25 18-May-2011 10:59:38

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

Re: move a selected object with the keyboard

Hi,

you can use a Var plugIT to increment / decrement a value and send it to your flash interface

Offline

Board footer

Powered by FluxBB