I’m currently working on a game project for school and one of the gameplay elements we need is to be able to grab and release objects.
The problem being that, while testing the idea in blueprint, I noticed that the physics object grabbed by the player can just push around other physics objects like it weights nothing and I can’t figure out how to make it stop, if it’s even possible.
While we’re on it, it is possible to prevent a physic object from pushing other physics objects with immense force? Like where a cube with physics is on top of a table and that, for x reason, the table move, is it possible prevent it from moving like crazy AND from propulsing the cube into the stratosphere?
There is a few ways you could handle this and it all depends on the needs of what your making.
Like you could turn simulate physics off on the grabbed object, or change its collision settings.
I assume you are using the ‘Physics Handle’ component? Its a great component for handling grabbing and dropping physics objects. There is a lot of settings and functions inside the component for things like linear and angular damping and stiffness that may help.
You could also play with the settings in the details panel under ‘Physics’ and also inside your physics asset you have settings for constraint profiles and physical animation profiles which can change how your physics objects react to the world.