@Kuriz: ODE? Yes, you're right this does use the Blitz collision method. I can't help you there.
@Becky: As you say, but if I use FreeBrush(BRUSH_Level) and FreeTexture(TEX_Level) then everything's ok; this is based on one of Mark Sibly's bits of code.
If fact my footsteps sound is based on a timer (let's say, every half second?). On the timeout this code is called, so CPU loss is kept to a minimum. Even so, if I deactivate the code I can't detect any difference in performance.
It _does_ seem like a very wasteful way to get a texture name (under 'my' feet) - to have to create and destroy a brush to do that.
If anyone can think of a better way then I'm open to ideas.
@Becky: As you say, but if I use FreeBrush(BRUSH_Level) and FreeTexture(TEX_Level) then everything's ok; this is based on one of Mark Sibly's bits of code.
If fact my footsteps sound is based on a timer (let's say, every half second?). On the timeout this code is called, so CPU loss is kept to a minimum. Even so, if I deactivate the code I can't detect any difference in performance.
It _does_ seem like a very wasteful way to get a texture name (under 'my' feet) - to have to create and destroy a brush to do that.
If anyone can think of a better way then I'm open to ideas.