Add physics object type?

Post Reply
User avatar
AiTechEye
Member
Posts: 860
Joined: Fri May 29, 2015 21:14
GitHub: AiTechEye
Location: ¯\_(ツ)_/¯

Add physics object type?

by AiTechEye » Post

If its possible, why not add a physics object type to minetest?

Im sure it would make more people join, and a lot of fun too :)

User avatar
ThomasMonroe
Member
Posts: 279
Joined: Tue Apr 04, 2017 16:21
GitHub: ThomasMonroe314
IRC: ThomasMonroe TMcSquared
In-game: ThomasMonroe TMcSquared
Location: Wherever I am at

Re: Add physics object type?

by ThomasMonroe » Post

it would allow for bouncing items YAY basketball
Projects|:*sigh* school: :Qub³d: :Legends Of Survival: :making people think:
I don't make things messy, I just *cough* disturb the local entropy.

John_Constructor
Member
Posts: 76
Joined: Thu Jun 01, 2017 20:06
GitHub: John-Constructor
In-game: Nooberton
Location: On Minetest 24/7

Re: Add physics object type?

by John_Constructor » Post

Would this mean angle on the X and Y axis (Perhaps collisions following it), or would it be more of properties such as elasticity, mass, and friction? Or both? Such objects would indeed allow creating far more advanced mods if the first or third option are used.
Constructing mechs and wingless aircraft since 2016.

User avatar
sorcerykid
Member
Posts: 1462
Joined: Fri Aug 26, 2016 15:36
GitHub: sorcerykid
In-game: Nemo
Location: Illinois, USA

Re: Add physics object type?

by sorcerykid » Post

it would allow for bouncing items YAY basketball
This functionality is already possible. Earlier this year, I extended kaeza's soccer mod, as a proof of concept for more advanced physics in Minetest: Objects can be defined with a given elasticity, density, and friction to induce bouncing, floating, and sliding behaviors respectively, likwise nodes can be defined with the same properties, to affect their interaction with objects. Most of the underlying logic is implemented; however, it's still very experimental of course.

Anyone that played on JT2 this past summer had a chance to help test this feature, hence the tennis courts at spawn :)

Image

User avatar
ThomasMonroe
Member
Posts: 279
Joined: Tue Apr 04, 2017 16:21
GitHub: ThomasMonroe314
IRC: ThomasMonroe TMcSquared
In-game: ThomasMonroe TMcSquared
Location: Wherever I am at

Re: Add physics object type?

by ThomasMonroe » Post

something like this would be much better if all axis rotation gets added.
Projects|:*sigh* school: :Qub³d: :Legends Of Survival: :making people think:
I don't make things messy, I just *cough* disturb the local entropy.

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest