Units on near and far parameter values
Posted: Sun Jan 02, 2022 9:34 pm
The pybullet example file getCameraImageTest.py lists a near plane distance and a far plane distance:
https://github.com/bulletphysics/bullet ... ageTest.py
Another pybullet example file pointCloudFromCameraImage.py lists:
https://github.com/bulletphysics/bullet ... raImage.py
What are the units on these distances? Are they meters?
From the Hello PyBullet World it lists gravity as -10 z, which I am assuming is an approximation for -9.81 m/s^2.
https://docs.google.com/document/d/10sX ... dfuxtf2f72
So, are units in meters by default? How would one discern units in all of the pybullet example files?
Thank you in advance for any help. I am came here from https://github.com/bulletphysics/bullet3/issues/2665
https://github.com/bulletphysics/bullet ... ageTest.py
Code: Select all
near = 0.02
far = 1
https://github.com/bulletphysics/bullet ... raImage.py
Code: Select all
near = 0.01
far = 1000.0
From the Hello PyBullet World it lists gravity as -10 z, which I am assuming is an approximation for -9.81 m/s^2.
https://docs.google.com/document/d/10sX ... dfuxtf2f72
Code: Select all
p.setGravity(0,0,-10)
Thank you in advance for any help. I am came here from https://github.com/bulletphysics/bullet3/issues/2665