× Tutorials about Modelling and Texturing form Minecraft

Model positions and translateAll in 1.6.4

More
4 years 9 months ago #18032 by Manus
Since 3.0 it is importent to have the 0/0/0 at a specific point. Why? The Zero point is now also working as the mass center of the vehicle/plane. And if this center is not balanced the vehicle will start bouncing like hell.

What does that mean for modelling? Well, it means the model must build exact symmetric. The distance between the center of the front wheel box and the center of the back wheel box must have the same size, also the distance between the centers of the left and right wheel. On tanks, the track box must have the same size to the front as it has to the back of the model.

Building a new model with this knowledge is easy, you just have to build the model around the zero point.

But what is with model you want to update? These models have also to be moved that the zero point at the center between the wheels. Sound awful right? Moving every single part to a new place is a lot of work.

So how to do it in a simple way...

With Flans mod 3.0 i created a new parameter you can add to you model java file.

translateAll(0, 0, 0);

This parameter will move the models part for you, so you have only figure out the value (x/y/z) your model has to be moved.

Example:
translateAll(15, -2, 0);

This will move the complete model 15 px to the front and 2px up
The topic has been locked.
More
4 years 9 months ago #18035 by MegaStannyBoy
If an aircraft has 2 wheels, can these wheels be at (20,-10,20) and (20,-10,-20)? Or should it be (0,-10,20) and (0,-10,-20)
The topic has been locked.
More
4 years 9 months ago #18037 by TaskForce51
Can you please release a mech template for techne?

The Big 51
The topic has been locked.
More
4 years 9 months ago #18038 by TheOrion
Just use the Vehicle one.


MVP Ostwind
The topic has been locked.
More
4 years 9 months ago #18039 by Manus
The wheels can be anywhere. you just have to keep in mind that the model will fall on the side there the zero point is
The topic has been locked.
More
4 years 9 months ago #18043 by TaskForce51
oh okay

The Big 51
The topic has been locked.
 
Latest Forum Posts
 
Latest Blog Posts
 
User Online
 
User Menu