Jump to content

Translation distance value


Beemertron
 Share

Recommended Posts

Hey everyone, I'm a little new to game development, so I really appreciate the advice! I'm just looking to understand local translations a little better.

Basically what I have is 2 blender models (that I downloaded off Turbosquid) I have the distance value to my first model set to 300, and the second model set to 1, however, the model that is set to 1 is moving faster then the model set to 300:

game.subject.translate(BABYLON.Axis.Y, 300, BABYLON.Space.LOCAL);
unit.mesh.translate(BABYLON.Axis.Y, 1, BABYLON.Space.LOCAL);

So I guess my question is, is the distance value relative to something? Both models are about the same size.

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.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...