Use the Lua Api for Parenting

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Use the Lua Api for Parenting

by rubenwardy » Sat Aug 25, 2012 20:57

You should be able to use the api to:

  • Attach an object to a player.
  • Attach a player to an object.
  • Disable Player WASD movement.

For use with carts and the like.


Irrlicht supports parenting, just needs to be implemented into the lua api
Last edited by rubenwardy on Sat Aug 25, 2012 22:20, edited 1 time in total.
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Sat Aug 25, 2012 21:51

rubenwardy wrote:You should be able to use the api to:

  • Attach an object to a player.
  • Attach a player to an object.
  • Disable Player WASD movement.

That would be very usefull for the carts mod.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

by rubenwardy » Sat Aug 25, 2012 22:19

PilzAdam wrote:
rubenwardy wrote:You should be able to use the api to:

  • Attach an object to a player.
  • Attach a player to an object.
  • Disable Player WASD movement.

That would be very usefull for the carts mod.


Exactly : )
 


Return to Minetest Features

Who is online

Users browsing this forum: No registered users and 14 guests

cron