Update test.py
This commit is contained in:
@@ -13,7 +13,7 @@ numJoints = pybullet.getNumJoints(obj)
|
|||||||
print (numJoints)
|
print (numJoints)
|
||||||
|
|
||||||
#set the gravity acceleration
|
#set the gravity acceleration
|
||||||
pybullet.setGravity(0,0,-0.01)
|
pybullet.setGravity(0,0,-9.8)
|
||||||
|
|
||||||
#step the simulation for 5 seconds
|
#step the simulation for 5 seconds
|
||||||
t_end = time.time() + 5
|
t_end = time.time() + 5
|
||||||
|
|||||||
Reference in New Issue
Block a user