app icon indicating copy to clipboard operation
app copied to clipboard

Gravity doesn't affect fox

Open arya3d opened this issue 3 years ago • 3 comments

Describe the bug The fox can walk on air, gravity doesn't affect it

To Reproduce Steps to reproduce the behavior:

  1. Go to block.scn in the app
  2. Insert this code in the block.scn file :
 {
      "position": [
        -66,
        0.16,
        16
      ],
      "quaternion": [
        0,
        0.7071067811865475,
        0,
        0.7071067811865475
      ],
      "start_url": "https://webaverse.github.io/fox/"
    }
  1. Go near the fox and hold E
  2. Make the fox follow you outside of the ground range

Expected behavior Gravity should pull the fox down

Screenshots image

arya3d avatar Aug 09 '22 11:08 arya3d

Duplicate : https://github.com/webaverse/app/issues/3054

arya3d avatar Aug 09 '22 11:08 arya3d

Related info, maybe useful: I think we need apply Character Controller to fox and other creatures too, like what local/npcPlayer do. I've done this feature once before, but the codes mixed with a failed Pet Follow/PathFinding PR. https://github.com/webaverse/totum/pull/59 Need be separated and fit with newest code base.

gonnavis avatar Aug 09 '22 11:08 gonnavis

Related: https://github.com/webaverse/app/issues/3175

alisaad673 avatar Aug 09 '22 11:08 alisaad673