Feature staying where I put them.
Posted: 25 Aug 2009, 10:39
Hello.
I would like features to stay where I put them, even if it's floating in mid-air.
In Spring 79, I would do: Spring.SetFeaturePosition(f,x,y,z) once in the Initialize, and they would stay there.
In Spring 80, they fall to the ground. I tried to do Spring.SetFeaturePosition(f,x,y,z) every frame, they still fall, just slower (I guess my code put them back in place, but the engine accelerate their fall and move them after I move them).
For now I destroy and recreate the features every frame, but when I'll have more features, I'm afraid it'll eat my FPS.
Oh, and I'd also like to put features underground, which I can't, even by destroying and recreating them every frame, since they're instabumped to surface.
I thought about using gl.FeatureShape (since I mostly want the visual of feature, doesn't matter much if they're mere hologram), then I remembered how broken it was.
I would like features to stay where I put them, even if it's floating in mid-air.
In Spring 79, I would do: Spring.SetFeaturePosition(f,x,y,z) once in the Initialize, and they would stay there.
In Spring 80, they fall to the ground. I tried to do Spring.SetFeaturePosition(f,x,y,z) every frame, they still fall, just slower (I guess my code put them back in place, but the engine accelerate their fall and move them after I move them).
For now I destroy and recreate the features every frame, but when I'll have more features, I'm afraid it'll eat my FPS.
Oh, and I'd also like to put features underground, which I can't, even by destroying and recreating them every frame, since they're instabumped to surface.
I thought about using gl.FeatureShape (since I mostly want the visual of feature, doesn't matter much if they're mere hologram), then I remembered how broken it was.