Hello,
I imported a car object from Blender with the dimensions (0.936, 0.64, 0.396) which is in meters. I want to move it around my scene in meters as well.
I noticed when I create the car at (0,0,0) and create another object (box) at (1, 1, 0) It really looks like it’s too close to the car. I am starting to doubt how accurate is the car being drawn in the Jme scene.
Question- I have a scaling of (0.217, 0.149, 0.09) on the car that I couldn’t avoid. How does that impact the car dimension on the scene? (and sorry if this is a silly question but I have having a problem differentiating the Dimensions in blender with Scale)
Scale only works in comparison… Best just handle 1 unit = 1 meter, thats how the physics works. These units are consistent across blender and all model formats.
so is scaling related to Jme drawing at all? if I scale (1,1,1) it would make my object look different
other than scaling I am handling everything 1:1
Of course, when you scale a box with 2m side length by 0.5 its then 1m: https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:scenegraph_for_dummies
I got that part but to be more precise. My object in blender has the dimensions (0.953, 0,652, 0.403) and this changes the scale options automatically (even if I had it locked on 1,1,1) now if I put it back on (1,1,1) it changes the dimensions of the object again.
Might be a blender question at this point but here’s a pic to show you my exact problem. In the picture below, the green small box has to be a a (0.5;0.5;0) away from the car. For me it looks like it’s a bit not precise.
First of all you should do this in orthographic mode. Then think about where the actual center of your meshes is. If you create a box out of center its sure to not produce the desired result. Given that the location you modify normally is the center of the box the result looks ok.
Normen I’m sorry but I didn’t quite get it ( and I did watch the video you posted).
First of all you should do this in orthographic mode.
what do you mean by that? I have several 3d views for this scene and it just happened that this cam is showing the 2d view
Then think about where the actual center of your meshes is.
The center of the car is that black dot and the center of the box is its middle.
Given that the location you modify normally is the center of the box the result looks ok.
Shouldn't it be where I marked the black x?
http://en.wikipedia.org/wiki/Orthographic_projection
jME3 is working correctly, you can try around and when the solution is correct you can look at the code to find out why that is so.