Search found 3 matches
- Fri Jul 28, 2017 7:12 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Setting initial velocity & angular velocity in pybullet?
- Replies: 2
- Views: 4438
Re: Setting initial velocity & angular velocity in pybullet?
You can reset the linear and/or angular velocity of the base of a body using resetBaseVelocity. The input parameters are: objectUniqueId, linearVelocity, angularVelocity, physicsClientId Example: p.resetBaseVelocity(model, [x1, y1, z1], [x2, y2, z2]) Thanks very much. By grepping the folder for &qu...
- Thu Jul 27, 2017 7:58 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Setting initial velocity & angular velocity in pybullet?
- Replies: 2
- Views: 4438
Setting initial velocity & angular velocity in pybullet?
Please consider the sample "restitution.py" in the distribution folder "examples/pybullet/examples." In this example, the ball drops from an initial height 2, over dead center [0, 0], which we set with the python code sphere = p.loadURDF("sphere_with_restitution", [0, 0...
- Thu Jul 27, 2017 7:58 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Setting initial velocity & angular velocity in pybullet?
- Replies: 0
- Views: 2843
Setting initial velocity & angular velocity in pybullet?
Please consider the sample "restitution.py" in the distribution folder "examples/pybullet/examples." In this example, the ball drops from an initial height 2, over dead center [0, 0], which we set with the python code sphere = p.loadURDF("sphere_with_restitution", [0, 0...