You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to display things with multiple primitive shapes created programmatically.
Using createVisualShapeArray seems the fastest and most appropriate way of doing that.
The problem is that either I get
case 2: 1 shape at a time works but slow
case 3: 15< shapes works but colors are wrong
case 1: 15> shapes: pybullet.error: createVisualShapeArray failed.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
I am trying to display things with multiple primitive shapes created programmatically.
Using createVisualShapeArray seems the fastest and most appropriate way of doing that.
The problem is that either I get
case 2: 1 shape at a time works but slow
case 3: 15< shapes works but colors are wrong
case 1: 15> shapes: pybullet.error: createVisualShapeArray failed.
Here is a link to a stand-alone script to reproduce the 3 cases
https://github.com/humans-to-robots-motion/bewego/blob/87c9bc3a595b1d1372937befcbeab60bc953cc9d/examples/show_sphere_array.py
I use macOS Big Sur with a anaconda install
pip show pybullet
Name: pybullet
Version: 3.1.8
Location: /Users/jim/opt/anaconda3/envs/env-pyrieef-py3/lib/python3.6/site-packages
Is this a known bug?
Best wishes,
-- Jim
Beta Was this translation helpful? Give feedback.
All reactions