Hello again, I am developing an FPS game, and I would like to have my character be able to grab from an edge, and climb at request.
How can this be implimented in bullet? I tried putting a collision box in front of the character's basic collision shape, but then bullet became really buggy, and the collision shape was half inside the edge, while it was also forced to get outside but not upwards but to the direction the main character collision shape was...
So I believe that it is not the correct way of implimenting it. How else could this be implimented?
Implimenting climbing and grab collision...
-
- Posts: 11
- Joined: Tue Nov 09, 2010 7:03 pm
Re: Implimenting climbing and grab collision...
Is it such a difficult question?
-
- Posts: 43
- Joined: Mon Jan 03, 2011 4:26 pm
Re: Implimenting climbing and grab collision...
It's worded a little strangely.
Do you mean that the character should be able to walk up to a ledge or a ladder, and climb up it if the user presses a button?
For that, you might need some kind of ghost object around the ledge / ladder, and then if the player is colliding with it, he is allowed to climb up until no longer colliding with it.
Do you mean that the character should be able to walk up to a ledge or a ladder, and climb up it if the user presses a button?
For that, you might need some kind of ghost object around the ledge / ladder, and then if the player is colliding with it, he is allowed to climb up until no longer colliding with it.
-
- Posts: 11
- Joined: Tue Nov 09, 2010 7:03 pm
Re: Implimenting climbing and grab collision...
Well, yeah, that's my point, I now see the question was baffling.
What you mean is something like a trigger?
Thank you.
But in this case another question occurs:
I want my game maps to be loaded from a model (particularly a bsp quake map model, or an obj one) then which one would be better?
1) Put the trigger ghost shapes when I finish the map on the same file and make a custom file loader for it?
or
2) Make a diffrent file, which will have the triggers inside.
The maps of the game will be huge so the triggers' file should be edited together with the normal map.
What you mean is something like a trigger?
Thank you.
But in this case another question occurs:
I want my game maps to be loaded from a model (particularly a bsp quake map model, or an obj one) then which one would be better?
1) Put the trigger ghost shapes when I finish the map on the same file and make a custom file loader for it?
or
2) Make a diffrent file, which will have the triggers inside.
The maps of the game will be huge so the triggers' file should be edited together with the normal map.