- Home /
When rescaling an object, rigidbody.moveposition doesn't work
Hey all- I'm sure there's a pretty logical answer here, but I don't know what it is!
I have a silly little game in which a cube can hit other cubes and "absorb" them. When it does, its own scale increase by the amount of the cube it just hit (i.e., a 1,1,1 cube hits a 2,2,2 cube and becomes a 3,3,3 cube over, say, 2 seconds).
I'm moving the player cube via rigidbody.moveposition(). But whenever I'm lerping the scale of the cube, .moveposition won't work. It's not a code issue- I can see the speed computations are still fine.
What could be a reason for this?
Your answer
Follow this Question
Related Questions
Some objects working fine at 50 fps, while other objects lagging? 3 Answers
rigidbody.MovePosition is not behaving as it should 3 Answers
scaling objects with rigidbodies 2 Answers
Can I scale an object at runtime? 1 Answer
Long-distance physics 0 Answers