There are groups for nodes, items and tools. For reference, I am trying to make a mod that allows the player to easily edit the physics properties of vehicles and easily register their own vehicles with their own properties
First: Are there groups for entities at all? What properties does Minetest support for entity physics? Are there such things like weight, acceleration.
secondly: Is it possible to make groups that change the physics of nodes or entities? something like
Code: Select all
falling_node = 1
For example, if I make a groups called 'car_heavy' and I want to use a weight property in the group, I would have to pre-define the weight property? or would I define with the group? I would also have to set gravity, mass, force & acceleration and put those in a formula to calculate the weight somehow. Another thing I would have to do is when the player presses a key or something in a formspec, it applies the formula.
After I have finished with the weight property, I could use it for the group and therefore the car. Also can I use algebra to calculate more physics, like
Code: Select all
weight = w
Thanks and sorry for the amount of questions :D