No gravity in editor game mode

0

Hi,

I've made an entity, attached mesh, sphere shape, mesh collider and rigid body physics components, unticked at rest initially in the rigid body physics component yet when I press ctrl+G to go into game mode, the console says I enter game mode, but the rigid body doesn't fall down to the ground (set it in mid-air so that it would fall), as if there is no gravity or physics isn't enabled when in game mode! Why is this, and how can I fix this?

asked 6 years ago158 views
4 Answers
0
Accepted Answer

@REDACTEDUSER

REMOVEDUPLOAD

answered 6 years ago
0

Hi @REDACTEDUSER

Following your components list I was able to get the sphere to spawn, drop to the ground and be manipulated by the player controller from StarterGame.

Make sure that the Enabled Initially checkbox is checked in the Rigid Body Physics Component and that the Density/Mass of the component is set to around 10 or so. With a Density/Mass of Zero the mesh will not react to the physics engine.

Let me know if that works, if not send me some screenshots of your component settings and I will see if i can find out whats up.

Thanks!

answered 6 years ago
0

So, @REDACTEDUSER

answered 6 years ago
0

Also, I used the primitive_sphere.cgf from Engine/Objects/default as @REDACTEDUSER

answered 6 years ago

This post is closed: Adding new answers, comments, and votes is disabled.