How complex can Minetest physics get?

User avatar
philipbenr
Member
 
Posts: 1665
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: WisdomFire or philipbenr

How complex can Minetest physics get?

by philipbenr » Wed Jun 29, 2016 21:30

So, I was just giving some thought to a couple of mod ideas that might be nice. Is it possible to make something similar to a grappling hook that you can swing aroun on?
Something like Teeworlds:
Image
Or Trine:
Image

I have no experience with Minetest physics/whatnot, so I am just wondering if it is possible. Using the players position it might be possible to make it so once the player grapples onto a node, the position is locked so deltax^2 + deltay^2 + deltaz^2 = length of grappling hook (with the delta's reference being the node at which the hook is centered on)

Just some quick ideas. The math is easy, but I don't know if it is possible to manipulate the character's motions like so.
 

User avatar
kaadmy
Member
 
Posts: 627
Joined: Thu Aug 27, 2015 23:07
GitHub: kaadmy
IRC: KaadmY
In-game: KaadmY kaadmy NeD

Re: How complex can Minetest physics get?

by kaadmy » Thu Jun 30, 2016 16:16

Possible, but it'll be unusable as a mod. Mods all have the problem of being server-side, and therefore tons of lag.
I play Teeworlds too :)
Never paint white stripes on roads near Zebra crossings.
 


Return to Modding Discussion

Who is online

Users browsing this forum: No registered users and 10 guests

cron