D00Med / vehicles

minetest mod that adds vehicles. Written for minetest 0.4.??
Other
17 stars 27 forks source link

Fix wrong `set_attach` use #68

Closed MoNTE48 closed 1 year ago

D00Med commented 1 year ago

What was incorrect in the past?

MoNTE48 commented 1 year ago

.../worldmods/vehicles/init.lua:525: bad argument #2 to 'set_attach' (string expected, got userdata)

* `set_attach(parent[, bone, position, rotation, forced_visible])`
    * `bone`: string. Default is `""`, the root bone
    * `position`: `{x=num, y=num, z=num}`, relative, default `{x=0, y=0, z=0}`
    * `rotation`: `{x=num, y=num, z=num}` = Rotation on each axis, in degrees.
      Default `{x=0, y=0, z=0}`
    * `forced_visible`: Boolean to control whether the attached entity
       should appear in first person. Default `false`.
D00Med commented 1 year ago

Alright, thankyou