XNA Creators Club Online
Page 1 of 1 (3 items)
Sort Posts: Previous Next

Terrain Collision FBX

Last post 09/11/2009 15:51 by AlectoPerfecto. 2 replies.
  • 06/11/2009 3:38

    Terrain Collision FBX

    Is there a way I can make my model follow a terrain model if the terrain model is an .fbx file.
  • 08/11/2009 0:16 In reply to

    Re: Terrain Collision FBX

    Slayergnome:
    Is there a way I can make my model follow a terrain model if the terrain model is an .fbx file.


    The short answer:
    No, at least not directly.

    The longer answer
    Do you want to make an object that moves "freely" around moving up and down as the terrain does or do you mean you want an object to follow a specific path? .If it's the former look into collision detection, the later well you could use collision detection in theory, its easer to use path movement.

  • 09/11/2009 15:51 In reply to

    Re: Terrain Collision FBX

    The heightmap sample shows you how to do this i believe using normals or a normal map.

    The easiest way is to generate your terrain based on a heightmap and then just use your x and z coordinates to look up the y coordinate.
Page 1 of 1 (3 items) Previous Next