Jump to content

VEX - moving obj in a certain direction by a certain amount


SteveNi

Recommended Posts

Hi

I have an object and I want to move it lets say 1.5 units in a certain direction ( so move it along a certain vector ), so I tried what you can see in the picture.

Of course this doesn't work, because 1.5*{1,1,1} will result in moving the obj of 1.5 units in every axis.

So how can I work out the correct numbers to move the obj by a certain amount in a certain direction?

Screenshot_1.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...