Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  How to simulate Planet gravity
#4
(27-10-2021, 10:52 AM)wushuaiqi Wrote: this script on the Obi Solver
but result always (0.0,0.0,0.0)
but rope is moving;
Did i make a mistake?

I think you're confusing solvers and actors.

This is a very basic, very important concept: actors (such as ropes) are objects made of particles. Solvers contain actors. Actors can move freely inside the space defined by its solver, and there can be multiple actors inside a solver.

You can think of the solver as the "world" or "container" of sorts, in which the rope lives. Even though the world is not moving, the rope can move freely within it.

You can also think of the solver as a pond, and actors (ropes) as fish inside the pond. The pond does not move, but the fish do.

Please take a look at the manual's architectural overview:
http://obi.virtualmethodstudio.com/manua...cture.html
http://obi.virtualmethodstudio.com/manua...olver.html

This ties right into the concept of vector spaces, used in virtually every field of making games: physics, graphics, AI, etc:
https://en.wikipedia.org/wiki/Vector_space
Reply


Messages In This Thread
How to simulate Planet gravity - by wushuaiqi - 27-10-2021, 10:28 AM
RE: How to simulate Planet gravity - by wushuaiqi - 27-10-2021, 10:52 AM
RE: How to simulate Planet gravity - by josemendez - 27-10-2021, 10:59 AM
RE: How to simulate Planet gravity - by wushuaiqi - 27-10-2021, 11:15 AM
RE: How to simulate Planet gravity - by wushuaiqi - 27-10-2021, 11:18 AM
RE: How to simulate Planet gravity - by wushuaiqi - 27-10-2021, 11:26 AM