Add small collisions handling #3

Open
opened 2022-02-04 13:34:41 +00:00 by yannk · 7 comments
yannk commented 2022-02-04 13:34:41 +00:00 (Migrated from port.numenaute.org)

For now the character is blocked by very small height obstacles. perhaps there should be a minimum height to be taken in account to let the character go through small steps / quick ground height differences

For now the character is blocked by very small height obstacles. perhaps there should be a minimum height to be taken in account to let the character go through small steps / quick ground height differences
yannk commented 2022-02-04 14:45:44 +00:00 (Migrated from port.numenaute.org)

I just have realized that it will be linked to the way we will make stairs : with actual small steps to be handled by the collision-handling of the character or just collisions established as ramps end geometry as stairs

I just have realized that it will be linked to the way we will make stairs : with actual small steps to be handled by the collision-handling of the character or just collisions established as ramps end geometry as stairs
yannk commented 2022-02-04 14:45:53 +00:00 (Migrated from port.numenaute.org)

assigned to @aleajactaest

assigned to @aleajactaest
aleajactaest commented 2022-02-12 01:03:47 +00:00 (Migrated from port.numenaute.org)

mentioned in commit a271baa8ee

mentioned in commit a271baa8ee1b8d1b8e379bbe214ee7be80b17d92
yannk commented 2022-02-12 11:07:40 +00:00 (Migrated from port.numenaute.org)

I have made some tests with version #a271baa8 , it seems to be ok for me. The small collisions are handled while walking and running.
With the current parameters it seems the character neglect collisions until 0,25m, that’s right ? As I have said you, if you could expose this parameter one way or another, that would be great, as according to the size of characters, this height could change. We could use the very same function for small and big animals for instance.

But anyway, for now that implementation is ok for me, I let you close the Issue when you will have seen my feedback.

I have made some tests with version #a271baa8 , it seems to be ok for me. The small collisions are handled while walking and running. With the current parameters it seems the character neglect collisions until 0,25m, that’s right ? As I have said you, if you could expose this parameter one way or another, that would be great, as according to the size of characters, this height could change. We could use the very same function for small and big animals for instance. But anyway, for now that implementation is ok for me, I let you close the Issue when you will have seen my feedback.
aleajactaest commented 2022-03-06 21:29:21 +00:00 (Migrated from port.numenaute.org)

mentioned in commit 2350c98af9

mentioned in commit 2350c98af91636f1dfd7a89e3d4e782cad4da74d
aleajactaest commented 2022-03-29 20:35:09 +00:00 (Migrated from port.numenaute.org)

pushed, to be check

pushed, to be check
yannk commented 2022-03-30 13:20:09 +00:00 (Migrated from port.numenaute.org)

I have some issues with last modifications :

  • the character seems not be able to handle the "terrain irrégulier" zone, as it can climb the slopes, or is stucked below the surface, sometime causing him to go across the world. Globally, it seems to handle less correctly the collisions.
  • the camera is shaking when the character is walking on the even plane, like if it was going up and down a very small height nearly at each step. Here is a video of the character simply walking (pressing Z key) : https://kloud.khaganat.net/s/WANcWyxwAmbCxoE
I have some issues with last modifications : - [ ] the character seems not be able to handle the "terrain irrégulier" zone, as it can climb the slopes, or is stucked below the surface, sometime causing him to go across the world. Globally, it seems to handle less correctly the collisions. - [ ] the camera is shaking when the character is walking on the even plane, like if it was going up and down a very small height nearly at each step. Here is a video of the character simply walking (pressing Z key) : https://kloud.khaganat.net/s/WANcWyxwAmbCxoE
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: YannK/godot-third-person-basic-scene#3
No description provided.