- How to make collision for camera, to not go through objects?
My idea is, create physic - add CollisionShape sphere and RigidBody. It is good idea use Bullet for that?
After I do that, my CollisionShape was attached in to camera, but when I moving with camera, collision not working, only when I add Mass(value more then 0). But then camera start fall down.
Maybe I need control CollisionShape instead Camera? Or PhysicBody? What is right control for that?
-
All collisions are made with Bullet or is there some simple physics? I want create spaceship which can be controlled only above ground. It can hit objects, shoot missiles and enemies can hit player spaceship to make damage. Isn’t Bullet too much for that? I found Bullet prety fast when I run PhysicStres Demo, but it was only simple cubes.
-
Can be physic object animated? For example in some old platform games, there was some moving platforms which will interact with player character.
-
Can have physics animated bones? For instance, I animate some object which can be twisted to another shape which affect collisions. Can Urho3D do that?
Maybe better example is giant character with character collisionShape. That means physics object for giant will be character mesh not capsule, sphere or box.