I was playing with the ground a bit, and found I could make 4 grounds to bind my shape in... Attempted to create the world with planes, but the collision didn't happen often, since the object was fast enough to never actually touch the plane... a thicker box works good for this I'd imagine....
What I would need would be a way to apply a cutting line to a body and have portions of the body react to the definitions of basically a seperate world with its own gravity vector... consider a body going from the shore of a river into the river... a portion of the body has the river motion applied, while the remaider is still on the bank of the river.
This can get to be a very complex cut at intersections that are corners, and may bound on 3 or more worlds.
I thought about creating a new instance of the body in the new world when contact is made with a boundry... and somehow resolve the combined effects of the worlds.
My sectors are made from point-slope line vectors, which when intersected with the other walls in a sector create a from(t) and a to(t) which determines the length of the segment...
Some walls have a link to another sector, and relate to another wall in another sector, and are therefore not really walls, but are more like portals to other sectors. (Dare I mention that the walls may not nessecarily be spacially related? That is they may transform the object realtive to the universal origin.)
This is the sort of world that I wanted to be able to use ray casting to 'see' the walls and other bodies in the current sector and bordering sectors.
What I would need would be a way to apply a cutting line to a body and have portions of the body react to the definitions of basically a seperate world with its own gravity vector... consider a body going from the shore of a river into the river... a portion of the body has the river motion applied, while the remaider is still on the bank of the river.
This can get to be a very complex cut at intersections that are corners, and may bound on 3 or more worlds.
I thought about creating a new instance of the body in the new world when contact is made with a boundry... and somehow resolve the combined effects of the worlds.
My sectors are made from point-slope line vectors, which when intersected with the other walls in a sector create a from(t) and a to(t) which determines the length of the segment...
Some walls have a link to another sector, and relate to another wall in another sector, and are therefore not really walls, but are more like portals to other sectors. (Dare I mention that the walls may not nessecarily be spacially related? That is they may transform the object realtive to the universal origin.)
This is the sort of world that I wanted to be able to use ray casting to 'see' the walls and other bodies in the current sector and bordering sectors.