arenaxr / arena-py

Python library for accessing the ARENA.
https://docs.arenaxr.org/content/python
BSD 3-Clause "New" or "Revised" License
5 stars 9 forks source link

Tic-tac-guac animation & physics not working #120

Open Power-tile opened 2 years ago

Power-tile commented 2 years ago

The animations of blocks falling/being launched and the avocado's animation do not work in guac.py, while the arm-demo's animation works. Changing the physics attribute to dynamic_body (exchangeable as indicated by the documentation) also doesn't work. After a win/stalemate, the boxes will hold their positions and freeze for 5 seconds after being reset into their default state instead of rendering the physics.

hi-liang commented 2 years ago

We had some issues with the physics system to where we had it default unloaded. Our documentation is likely outdated on this detail.

In the sceneOptions for your scene, try toggling on the Physics System:

image

Power-tile commented 2 years ago

@hi-liang Adding a sceneOptions in the build page did bring physics, but in a weird form:

arenaxr-tic-tac-guac-weird-physics

The bottom-left cube drops first, and all other cubes + the avocado animation are barely played before reset. Having a stalemate instead of a win results in almost the same problem, having the bottom left & left cube dropped first and the rest dropping/animating barely.

Power-tile commented 2 years ago

@hi-liang Hi Ivan, any updates on this problem...? Have been playing with physics but did not solve 😂