- Home /
How can i rework physics or collisions for my game?
I'd like to rework/tweak several aspects of the physics and/or collisions for my game. For example, allowing collision events to happen, without having to add a collider and/or a rigidbody to the gameobject(s). How can i accomplish this?
The game is in 2D, if this means anything.
P.S. This question was originally rejected 4 no. apparent raisin, with no feedback as to what was wrong with it. Because i could not find any raisins why it would be rejected, i assumed it was in error, and am posting it once more. If you feel I'm "wrong" then feel free to reject it once more, but do me the honor of letting me know whats wrong with this completely legitimate question.
You could probably benefit from explaining exactly what you are trying to achieve and why. As Jeff says there are no way to change to core physics of Unity and we have a hard time of understanding why you would want to without any details.
Your question was most likely rejected because Unity Answers is for specific Technical questions where we help you with specific issues, while your question is very broad and bordering on being a discussion.
Here is an article as aid to asking good questions: http://mattgemmell.com/what-have-you-tried/
Exactly the above. How can i rework the physics in unity, if at all? Does it allow me to call collisions in some other way, without using rigidbodies? Would i be better off looking into writing my own engine? etc.
In terms of my game, There are no aspects of rigidbodies that would show any use, aside from the ability to collide. Why simply attaching a collider doesnt allow this functionality, i do not know.
Answer by Jeff-Kesselman · Nov 11, 2014 at 02:21 PM
Write your own game engine.
Really, thats the only answer that will produce satisfactory results.
Unity physics is core to just about everything Unity does. Trying to fight a game engine's way of looking at the world never, ever works.
Id suggest you start with a C# scenegraph library and work up from there.
Here's one i found with a quick google: www.openscenegraph.org
Answer by NivekJump · Nov 11, 2014 at 03:38 PM
I dont know exactly what you want... But doing your own game engine its the best work for that. But if you want to change some values from the UnityPhysicsEngine you have to go: Edit -> Project Settings -> Physics/Physics2D
I really just want to use collisions without the predefined rigidbody components.
Your answer
Follow this Question
Related Questions
AddForce not working 0 Answers
I'm having troubles using a Capsule Cast 2 Answers
Apply rigid body force in opposite direction of collider 1 Answer
Find all objects currently colliding with trigger 1 Answer
Static collider restitution 1 Answer