There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

Brainstorming: Lock the 3d Physics engine to 2d plane on a Bezier Curve

Hey, just uploading here at lemmy, so I can link an attachment to a Godot forum (new users to godot forum can’t upload attachments).

But, if anyone here is a Godoteneer or programmer, I’d love to hear your ideas.

The attached demo is a simulation I did on Blender showing the type of interaction I mean. The green wire mesh represents a vertical plane that has the horizontal edge shaped by a bezier curve. The ball has a physics simulation on the up and down (z axis) with only horizontal movement on the (let’s call it the c-axis). So, all linear movement on the c-axis is translated to a x and y position using the bezier plane.

My initial thoughts on how I might approach such a setup would be to create all nodes in 3d space except for the physics shapes. This might allow using the 2d physics shape but keep the 3d model meshes and lights. But the it would have to be a 2d RigidBody, and I’m not sure if I could translate a 2d position space to a 3d position space … I think I need a broader understanding of the core code of Godot. In the past, I’ve been successful in a c++ Godot module, then later refactoring it to a GDExtension. But that was needed for a high performant line gesture engine. I haven’t yet delved too much into the guts of Godot.

Any pointers? Or inspired thoughts?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • [email protected]
  • lifeLocal
  • goranko
  • All magazines