Adding Collider2D changed physics on race car.How to compensate for mass loss...
AS YOU CAN SEE THE PIVOT IS IN THE BACK ,DOWN, BUT THE CAR BEHAVES LIKE ITS MORE IN THE MIDDLE,(PUTTING PIVOT TO MIDDLE NOR TO THE TOP HELPS),I TRIED ADDING COUNTER WEIGHT OR NARROW COLLIDERS BUT STILL...
View ArticleModifying mass of all objects
Hello! I am having a rather strange problem at the moment with one of my Unity programs. The issue is that I need to define mass in terms of kinetic energy, so whenever a script or physics function...
View ArticleHow to add a script to an object via another script
Hello! I am having a rather strange problem at the moment with one of my Unity programs. The issue is that I need to define mass in terms of kinetic energy, so whenever a script or physics function...
View Articleshrinking objects
So this script makes the gameobject shrink at a rate i chose, along with the mass. but the problem is no matter how much mass i give an object, it will loose mass at the same speed. so like if i gave...
View Articleshrinking according to mass
so this script shrinks an at a constant rate depending on mass. so when an object enters the trigger collider, if it has more mass than this object, then this object will beguin shrinking at a rate...
View ArticleGrow objects
This script makes objects shrink. how can i make it so it makes objects grow instead? private Rigidbody rb; private float originalMass; private Vector3 originalScale; private float counter; public...
View Articleshrinking mass and scale
with this script how can i make it so that the objects scale shrinks at the same rate as the mass shrinks, so the scale will reach 0 at the same time the mass does? float scale; private Rigidbody rb;...
View ArticleStop Rigidbody From Being Pushed By Another But Still Move With Physics
Hi, What is the "*Unity correct*" way to move an object with physics but make it unmovable to identical objects in the scene? For instance, if a character is moved by physics and can move around...
View ArticleRigidbodies colliding with each other ignore mass, details inside.
I am using a unity script that lets me pick up an object and walk around with it, and it follows my mouse, if you've ever played Amnesia or Penumbra you know exactly what I'm talking about. When I pick...
View ArticleCollider shapes influence simulation even when not colliding.
If I enable or disable a collider, the rigidbody behaves completely different. Even if the collider is never colliding. I already found out that adding colliders changes Center-Of-Mass and the...
View ArticlePlayers slips on slopes for no reason.
My player's avatar continuously slips on a slope slowly in a random direction once I apply a AddForce. The avatar has a Rigidbody and a capsule collider. I have tried to use a Physics Material and...
View ArticlePhysics 2D disable collision bouncyness
Hello, I am using Unity Physics 2D for my current use-case. I want to build up a tower made of standard boxes. The box has a standard BoxCollider2D and a Rigidbody2D with standard values. There is also...
View Articleusing mass spring system in unity
Hi, I have a question and I would be appreciated if you help me. I wanted to make an elastic surface and deform it when I want. I have made a surface by some Mass springs (in fact I just created some...
View ArticleHow to make a rigid body move along a specific path using my mouse?
The game features 2d circular characters that are supposed to have rectangular shaped weapons that orbit the character. The weapon is supposed to follow and point towards the mouse, but still travels...
View ArticleMass not effecting torque
Hi all, I'm making a 2D space game where the heavier the ship gets, the harder it is to move/steer. While the linear movement is effected as the rigidbody's mass increases, the angular acceleration is...
View ArticleApply mass to Navmesh agents on 2D top down
Hello, using the navmesh agent in unity in a 2D top down game, i wonder how the masses of bodies can be controlled: Currently my agents move on the field pushing each other away and trying to find a...
View ArticleUnity my player does not jump
In my 3d game my character doesnt jump even though using a working script. Does anybody know why this is, is it to do with anything in this screenshot. I have made sure all settings are shown in...
View ArticleMy jumping script has errors
I have a player movement script in my game and a key aspect of the game is jumping however you cant because my script does not seem to work, I have a screenshot showing what may be a problem and also...
View ArticleHow to not get velocity by the other objects?,How to not get force by other...
I have one dynamic rigidbody object and one cinematic. I want to force gameobject to get velocity only by gravity, not by other objects. I can't just set high mass, the other object is not dynamic?
View Articlewhy does my rigidbody weight only go up to 1e+09
im building a game with space physics and the planets mass is auto caculated then set to a mass variable which is then converted to rb.mass. but when I debug.log(mass) it says a number much higher than...
View ArticleHow do you mass add projects into Unity Hub?
I store all of my Unity Projects in one folder. Recently, I moved my folder with all my Unity projects to another folder. Is it possible that I can add all of the Unity projects inside my new folder...
View ArticleRigidbodies won't collide if mass difference is too high
I have two rigidbodies with colliders attached. They both can move independently and collide each other. The thing is, when i set one of the bodies to 1000 mass and the other to 1 mass, and have the...
View ArticleWhy mass not affect fall speed
Hi, I adding mass to my object to faster falling down. But its not affect the object. For faster falling down I change gravity from Physics settings but all game is affected. It always falls at the...
View ArticleHow do i AddForce ignoring the mass in 2D
I want to add a force to my GameObject ignoring the mass. I found ForceMode.VelocityChange but that only works for 3D. When I try ForceMode2D I don't have the option for VelocityChange. Why does 2D...
View Articleprint the mass values of rigidbody attached with the gameobjects assigned to...
i want a script , that should have the array variable to get the multiple gameobject as a elements and print the mass values of rigidbody attached with the gameobjects assigned to the array variable....
View ArticleSet player and enemy RigidBodies so that neither can push the other
I want to set up my RigidBodies such that my player and all enemies cannot move each other when interact. Right now, my player cannot be moved by enemies, but he can push enemies around very easily, as...
View Article=> Rigidbody falling too slowly!
I have FirstPersonPlayerMovement script attached to a simple capsule player in my scene. It has a rigidbody, all values set to default except for some constraints. But my player falls way too slow when...
View ArticleStop Charactercontroller pushing objects with high mass
Hi, i am currently working on trees. I want them to fall and still react to the eviorment. When the player collides with a tree thats falling it is getting pushed. I have tried to set a higher mass on...
View ArticleDetermination of Collider & unnatural physical phenomena
Hello. I have just started Unity and also my native language is not English. I hope you will forgive me that I'm not good at English. I want to make a conveyor that carries objects by rotating rollers....
View ArticlePlayer with CC can push objects with very high mass
Hi, in my game i can chop down trees and they will fall to the ground after i apply a force on the Riggid Body. The problem is that when the tree is falling, it can get launched by the player if i run...
View Article