- Home /
If i scale object, collision not working
I using BoxCollider2d.The object consists of three parts: body, top and bottom. I scale the body, top and bottom moving relative to the body with a script: script transform.position = anchor.position;. It scaling, by pressing buttons up and down, collisiont is not working. Download archive
script transform.position = anchor.position;
![alt text][1]
GREAT NEWS!! i downloaded your file and took i look at it. I have changed some scripts and gameobjects and it works great. i will send the file to you as soon as im done.
You should provide an answer on what the exact problem actually was.
Next time you include a zip make sure its complete, You only send the scene but without the files its gonna be hard to open.
Answer by MIkeross3 · Mar 06, 2015 at 02:11 AM
looks like your scaling in the middle is off, could be physics debugging to be honest.
Answer by X10KND · Mar 09, 2015 at 09:07 AM
Your project is done. I have provided everything for testing your gamelink text. If you want something more better, please send the details of what you want. If it works for you, please don't forget to click on the answer solved button beside my post
Your answer
Follow this Question
Related Questions
Using animated transform to push object away? 2D 0 Answers
2D Detect collisions of a 2D block only on left/right (not top/bottom) 0 Answers
How can I make an object stop all momentum and hold it's position in air? 1 Answer
Why is there a gap between my player and the wall during wall slide? SOLVED 2 Answers
Bullet Follows Player Orientation. 2 Answers