Retrieving surface properties
by Markus Nuebel · in Torque Game Engine · 01/26/2004 (11:48 pm) · 2 replies
Is there a way to get the properties of the surface a player is currently standing on (or simply touching?).
With this it would be able to do things like:
- Change the footstepsound based on the name of the texture the player is currently standing on.
- Apply some effects, when the player touches a special surface, etc.
I know you could do most of this with triggers, but I want to check out what I can do if I have access to a touching surface.
And I want to give the idea of "implementing a ladder by attaching a player to a special surface" another try.
(This has been discussed in the boards some time ago)
-- Markus
With this it would be able to do things like:
- Change the footstepsound based on the name of the texture the player is currently standing on.
- Apply some effects, when the player touches a special surface, etc.
I know you could do most of this with triggers, but I want to check out what I can do if I have access to a touching surface.
And I want to give the idea of "implementing a ladder by attaching a player to a special surface" another try.
(This has been discussed in the boards some time ago)
-- Markus
About the author
Associate Kyle Carter