How to calculate COM from COP of Human model?
Hi all, I have a human model and I have to calculate the change of his COM (centre of mass) from change of his COP on the feet (Centre of Pressure). I have some equations and some sensors thanks to I...
View ArticleRigidbody - Slowly flies?
For some reason my player slowly goes up in the air like a baloon at about 0.05 per second... If I put the mass any higher than 1 then it slowly goes down by 0.05 per second... So if the player walks...
View ArticleBox2D force on object?
Hello, im wondering is there is a way for Unity's 2D physics engine to provide what forces are affecting a rigidbody2D each physics tick. What i especially want is to get access to how much weight is...
View ArticleScale Issues. Heights, Mass and Cameras
I'm very into creating realistic simulations in Unity with first person cameras. I find the arbitrary scaling often used creates a big mess. I have read that 1 unit is 1 meter. How is mass measured? If...
View ArticleKeep up with falling object - Touches
Hello, I am working on a game where objects fall from the top of the screen. I have them working with raycasting. The game is 2D. The issue I am having is if they are going too fast, even if you tap on...
View ArticleCalculate objects' mass based on density and volume
Hello, I'm trying to calculate objects' masses based on density and volume. Imagine I have a Box2DSprite and it is 1,1 (x,y), I could use mass=density*Box2D.localScale.x*Box2D.localScale.y and...
View ArticleEditing mass of gameObject with slider GUI?
I am currently making a physics lab simulator. I want the user to be able to select the mass of a game object called "HangingMass" (in the Inspector) by the use of a GUI slider. The HangingMass...
View ArticleCalculating rigidbody mass
Hey so im trying to realistically calculate the mass of a rigidbody according o this post --> http://answers.unity3d.com/questions/177563/what-unit-is-rigidbody-mass-based-on.html a rigidbodys mass...
View ArticleHow does wheelcollider mass factor into rigidbody mass?
Let's say I have a car with a rigidbody mass of 1500 and four wheelcolliders with a mass of 20 each. Is the mass then, of the entire car, 1580, or is it still 1500, but the car without the...
View Articlecalculate force on impact
im trying to calculate the force an object gets hit by when i swing a bat at it or throw it against the wall im not sure why this dosent work as it has worked in the past for me void...
View ArticleQuestion about creating a specific first person player prefab
Hi, I am trying to create a first person player prefab that won't affect the physical movement of in-game objects while colliding with them. for instance, when the player jumps on a moving cube that is...
View ArticleRigidbodies that never push back
**Non-kinematic.** Google doesn't seem to tell -- has that ever happened? I'm using the absolute minimum of built-in Unity physics for a platforming engine that I'm trying to keep as reliable as...
View ArticleUnity First person controller force and mass
So i am using Unity first person controller, and have a massive object (lets say cube) with a rigidbody and mas of 100000 but no matter the variable of mass the first person controller can push this...
View ArticleWhy is gravity in script not working the same as when it is changed in the...
Have roof on top of a building. Mass set to 1. Get input from keyboard to increase mass on roof so it should eventually collapse. When increasing mass in script I can increase by 100s and it never...
View ArticlePossible to apply forces/rotations to a rigid body without other rigid bodies...
As the title suggests, I was wondering what the best way is to prevent other rigid bodies from effecting my game object, but still be able to apply forces and rotations on that object myself. One...
View ArticleNoob Question | Friction and Weight
In real life the more mass an object has, the more friction it has with the surface it's sitting on. Does Unity's physics engine reflect this? or is friction independent of mass?
View ArticleAdding mass to my rigidbody makes it go through the floor
Hey! Each time I set the mass of my rigidbody to I higher value than 1 it goes through the level. I did place it high enough (like 1 meter on top of the ground). Thanks, Erlite
View ArticleRigidbody NavMeshAgent Causing Crazy Collisions with Player.
I know this question has been asked a few times but I tried all of the answers given and nothing has worked! In my game the enemy follow the player the enemy are NavMeshAgents. Both the player and the...
View Articlemaximum torque/maximum force
Hi. I've been experiementing with a crane simulation, using real mass and distance. I've tried addforce, addtorque, jointdrives, motors etc. but nothing seems able to generate any signifcant amounts of...
View ArticleHow is Rigidbody 2D Auto Mass calculated?
Hey can someone tell me how the mass of a rigidboody is calcuated when use AutoMass is enabled? I know that it is dependant on the Collider size and on the Collider density but what's the exact...
View Article