Hello guys,
I'd like to know how to make a character moving on or inside other objects.
E.g. If I got the model of a house and I want the character to be able to walk on the roof as well as inside the rooms.
For moving on top of it, I suppose you need to find the triangle the charactermodel is touching, then get the height of the point inside the triangle.
But how can you get the triangle and how can you do it fast enough in big models?
To move inside of a model . . . I have no idea what to do. Could you give me some tips?
(I'm using directx 11 and c++)
Thanks a lot
Show differencesHistory of post edits
#2gnomgrol
Posted 09 September 2012 - 03:11 AM
Hello guys,
I'd like to know how to make a character moving on or inside other objects.
For moving on top of it, I suppose you need to find the triangle the charactermodel is touching, then get the height of the point inside the triangle.
But how can you get the triangle and how can you do it fast enough in big models?
To move inside of a model . . . I have no idea what to do. Could you give me some tips?
(I'm using directx 11 and c++)
Thanks a lot
I'd like to know how to make a character moving on or inside other objects.
For moving on top of it, I suppose you need to find the triangle the charactermodel is touching, then get the height of the point inside the triangle.
But how can you get the triangle and how can you do it fast enough in big models?
To move inside of a model . . . I have no idea what to do. Could you give me some tips?
(I'm using directx 11 and c++)
Thanks a lot
#1gnomgrol
Posted 09 September 2012 - 03:02 AM
Hello guys,
I'd like to know how to make a character moving on or inside other objects.
For moving on top of it, I suppose you need to find the triangle the charactermodel is touching, then get the height of the point inside the triangle.
But how can you get the triangle and how can you do it fast enough in big models?
To move inside of a model . . . I have no idea what to do. Could you give me some tips?
Thanks a lot
I'd like to know how to make a character moving on or inside other objects.
For moving on top of it, I suppose you need to find the triangle the charactermodel is touching, then get the height of the point inside the triangle.
But how can you get the triangle and how can you do it fast enough in big models?
To move inside of a model . . . I have no idea what to do. Could you give me some tips?
Thanks a lot