Bullet
ml-agents
Our great sponsors
Bullet | ml-agents | |
---|---|---|
40 | 60 | |
11,765 | 16,194 | |
1.7% | 1.5% | |
3.4 | 8.1 | |
7 days ago | 7 days ago | |
C++ | C# | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Bullet
-
Does anyone know any good open source project to optimize?
I suspect most C++ physics libraries like Box2D (https://github.com/erincatto/box2d) or Bullet3 (https://github.com/bulletphysics/bullet3) could really benefit a lot from SIMD.
- After months of work, I'm excited to share the first release of Godot Jolt, an extension that integrates the Jolt physics engine into Godot, demonstrated using GDQuest's RoboBlast
-
X4's Upcoming Multiplayer Features Are a Huge Step Forward
No, they replaced Bullet with Jolt. That is considerably more than "some adjustment", regardless of what you think of the result.
-
Brick Breaker
Vulkan graphics via Intel GVK, and physics via Bullet
-
Ive been programming for four years and I told my dad to watch long videos and complete your own projects to learn most efficiently. He thinks he’s ready to tackle any project after a ten minute video…
The first two have a bunch of great examples, and I’m tying them together by refactoring some of the THREE examples to fit the ECS paradigm defined in AFrame. then upping the ante by adding physics using AMMO, which is more challenging since it’s only a partial implementation of Bullet, and already poorly documented (yet popular) physics engine.
- Recommended Physics Engine?
-
C# Game engine - suggestions
Integrate a 3D physics engine like Bullet3D
-
Convenient CPU feature detection and dispatch in the Magnum Engine
Bullet: https://github.com/bulletphysics/bullet3/blob/5ae9a15ecac7bc7e71f1ec1b544a55135d7d7e32/src/LinearMath/btCpuFeatureUtility.h
-
Legged Robots in Ignition / Gazebo
If you are not constrained to using Gazebo as the simulation environment, I would also suggest pybullet. (Here)[https://github.com/bulletphysics/bullet3/blob/master/examples/pybullet/examples/quadruped.py] is the quadruped simulation script, it is super simple to get it running and also meets your requirements(as mentioned in the question)
-
Newton Dynamics vs Bullet Physics for Game Engine?
Someone I know is fond of using the term 'bus factor' when discussing libraries like these, as in "how many people need to get killed by a bus in order for the project to die?" Both Newton and Bullet have a bus factor of 1, meaning 1 particular guy needs to get hit and the lion's share of commit contributions comes to an end, although Bullet bus factor is probably slightly higher than Newton.
ml-agents
-
At least I put effort into the AI prompt to generate some code that people can refer to, whereas you do absolutely nothing to contribute to the community.
and PR content: https://github.com/Unity-Technologies/ml-agents/commit/ed212103e451449bf84711a4a8f7bf11dfb1211a
-
TransformerXL + PPO Baseline + MemoryGym
Thanks! It really depends on the task that you want to implement. But in general, sticking to the standard gymnasium API is important. If you want to implement a 2D environment then PyGame is promising. If it's more like a game, check out Unity ML-Agents or Godot RL Agents. Anything simpler can also be just pure python code. You also need to carefully design your observation space, action space and reward function. My advice is to explore design choices of related environments.
-
Impact of using sockets to communicate between Python and RL environment
When looking into implementing RL in a game environment, I found that both Unity MLAgents and the third-party UnrealCV communicate between the game environments and Python using sockets. I am looking into implementing RL for Unreal and wondering about the performance impact of using sockets vs using RL C++ libraries to keep everything "in-engine"/native.
-
After 8 Hours, my ML Agents learned how to work together!
For the last question, I suggest downloading this example package and taking a look at the Soccer example. It shows how to have 2 completely different Agents on different teams learn from each other.
What helped me the most to get started was this youtube video, and then after that I would recommend going through the official unity github examples and their scenes to understand how they approached different tasks.
-
I'm failing to download a repository correctly
# Install steps - download the `ml-agents` repository `git clone https://github.com/Unity-Technologies/ml-agents` - create a Python folder in `ml-agents` and clone `social_rl` repo into it `svn export https://github.com/google-research/google-research/trunk/social_rl` - copy `environments.py` and `gymwrappers.py` into this Python folder - create a python3.8 environment and install `social_rl` requirements `conda create -n mlagents python=3.8` `pip install -r requirements.txt` - install `ml-agents_envs`, `ml-agents` and `gym-unity` from the `ml-agents` repository `python install setup.py`
-
8+ Reinforcement Learning Project Ideas
Unity ML-Agents is a relatively new add-on to the Unity game engine. It allows game developers to train intelligent NPCs for games and enables researchers to create graphics- and physics-rich RL environments. Project ideas to explore include:
-
How to train agents to play volleyball using deep reinforcement learning
Descriptions of the configurations are available in the ML-Agents official documentation.
-
🏐 Ultimate Volleyball: A 3D Volleyball environment built using Unity ML-Agents
Inspired by Slime Volleyball Gym, I built a 3D Volleyball environment using Unity's ML-Agents toolkit. The full project is open-source and available at: 🏐 Ultimate Volleyball.
What are some alternatives?
PhysX - NVIDIA PhysX SDK
Box2D - Box2D is a 2D physics engine for games
CHRONO - High-performance C++ library for multiphysics and multibody dynamics simulations
Newton Dynamics - Newton Dynamics is an integrated solution for real time simulation of physics environments.
ODE
mujoco - Multi-Joint dynamics with Contact. A general purpose physics simulator.
Simbody - High-performance C++ multibody dynamics/physics library for simulating articulated biomechanical and mechanical systems like vehicles, robots, and the human skeleton.
Godot - Godot Engine – Multi-platform 2D and 3D game engine
gym - A toolkit for developing and comparing reinforcement learning algorithms.
reactphysics3d - Open source C++ physics engine library in 3D
raylib - A simple and easy-to-use library to enjoy videogames programming
Chipmunk - A fast and lightweight 2D game physics library.