Can setvelocity go through nodes?

lkjoel
Member
 
Posts: 778
Joined: Wed Feb 29, 2012 19:27

Can setvelocity go through nodes?

by lkjoel » Thu Apr 12, 2012 17:49

I'm trying to setup an object that will go directly to the player, ignoring nodes. I want a little animation too (so setpos will not work). How can I make it go through nodes?
My mods: The Nether | Doctor Who (WIP)

I have quit minetest ... again. I am heavily unimpressed by both the game and the community.
 

User avatar
Jeija
Member
 
Posts: 686
Joined: Fri Dec 23, 2011 21:46

by Jeija » Thu Apr 12, 2012 17:58

Yes, setvelocity and setacceleration can be used for that as long as physical=false.
It works like self.object:setvelocity({x=?, y=?, z=?})
Redstone for minetest: Mesecons (mesecons.net)
 

lkjoel
Member
 
Posts: 778
Joined: Wed Feb 29, 2012 19:27

by lkjoel » Thu Apr 12, 2012 18:02

oh... physical=false. DUH! thanks a lot man!
My mods: The Nether | Doctor Who (WIP)

I have quit minetest ... again. I am heavily unimpressed by both the game and the community.
 

User avatar
Jeija
Member
 
Posts: 686
Joined: Fri Dec 23, 2011 21:46

by Jeija » Thu Apr 12, 2012 18:04

are you making a herobrine which always stands behind the player... ^^?
Redstone for minetest: Mesecons (mesecons.net)
 

lkjoel
Member
 
Posts: 778
Joined: Wed Feb 29, 2012 19:27

by lkjoel » Thu Apr 12, 2012 18:09

My mods: The Nether | Doctor Who (WIP)

I have quit minetest ... again. I am heavily unimpressed by both the game and the community.
 


Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 14 guests

cron