Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Physics SANDBOX and model testing #9

Open
circuitbone opened this issue May 3, 2020 · 12 comments
Open

Physics SANDBOX and model testing #9

circuitbone opened this issue May 3, 2020 · 12 comments

Comments

@circuitbone
Copy link

circuitbone commented May 3, 2020

sandbox location test

https://notchris.net/noteditor/test/

  • click / drag to change direction
  • (left click)
  • WASD to move ball
  • space to jump

@notchris
Copy link
Owner

notchris commented May 3, 2020

This is in progress :)

@notchris
Copy link
Owner

notchris commented May 3, 2020

Initial convex deconstruction test:

  • Object responded to geometry, even if not correctly: True
  • Object responded correctly to geometry: False
  • Object responded correctly to holes: False

@notchris
Copy link
Owner

notchris commented May 3, 2020

Physics model testing results:

Name Collision Accuracy Comments
bump_bridge_no_handrails.obj Yes 100%
bump_bridge_handrails.obj Yes 80% Railings do not collide
bush_1.obj Yes 50% Odd overlap / tunneling
cog_3.obj Yes 60% Odd overlap - could be mesh scale issue

@notchris
Copy link
Owner

notchris commented May 3, 2020

Update:
Implemented a separate renderer for physics bodies vs their mesh representation.
This will help use debug the collision areas of loaded .obj files into CANNON.
Green wireframes: Physics bodies

@notchris
Copy link
Owner

notchris commented May 3, 2020

Update 2: Collisions now work if the child mesh of an object is passed to CANNON. Previously I would feed in the whole .obj. This produced very precise physics results.

@circuitbone
Copy link
Author

circuitbone commented May 4, 2020

I got caught in the middle of the shape, no biggie in the test case.

Screen Shot 2020-05-05 at 8 46 46 am

@circuitbone
Copy link
Author

Feature wishlist for testing.

  • FPS check visible
  • Polygon check visible
  • Multiple physics objects overlapping
  • Large side walls so I can alleviate the reset page each time I fall off.
  • Multiple balls or array of balls.

@circuitbone circuitbone changed the title Physics model testing Physics SANDBOX and model testing May 4, 2020
@circuitbone
Copy link
Author

circuitbone commented May 4, 2020

Model check

Testing object.obj Yes 100%  
Tested Inspect ( modeller ) bush_1.obj Yes 50% Odd overlap / tunneling
Tested Inspect ( modeller ) cog_3.obj Yes 60% Odd overlap - could be mesh scale issue

@circuitbone
Copy link
Author

circuitbone commented May 4, 2020

cog3 visual component inspection

  • centrepoint

Screen Shot 2020-05-05 at 9 00 27 am

@circuitbone
Copy link
Author

bush_1 visual component inspection

  • centrepoint
  • This model is NOT water tight

Screen Shot 2020-05-05 at 9 08 18 am

@circuitbone
Copy link
Author

Rotating the flower objects in this test will help determine how the engines will feel.

@circuitbone
Copy link
Author

Torus

  • Water tight
  • 32 verts
  • 32 poly

Physics_model_test_obj+mtl_Archive.zip

Screen Shot 2020-05-03 at 10 56 28 am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
MASTER CONTROL
  
Awaiting triage
Development

No branches or pull requests

3 participants