Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Physical Movement Close to Object

Sascha Ryba
Registered User
Join date: 13 Oct 2007
Posts: 8
10-27-2007 07:21
Hey,

How can I make a physical object move close to another one? I built a train using waypoints and it already works quite fine. I built a track out of some simple prims (non-physical, not phantom). It always looks as if the train would fly above the ground, there is always some space between the ground prim and the train.

I tried to use two ground prims, one phantom with the track texture on it and a second non-phantom below it. This solution works quite fine, but when I step onto the track prim, the feet of my avatar disappear in the prim. How can I make my train move closer to a non-phantom prim?

Thanks in advance!
Phoenix Ristow
Registered User
Join date: 11 Sep 2006
Posts: 9
10-29-2007 19:00
Use llGround to get the offset to the ground then adjust the Z position as you move to stay on the track height..don't forget to take into account the track prim height as well