Question by
CarGarAlo · Oct 11, 2015 at 07:22 PM ·
trailrenderer
LineRenderer fails tracing 2D object with addForce
I'm trying to add a LineRenderer to a 2D bouncing ball. The ball starts with:
rigidbody.AddForce (new Vector3(speed * 50, -jumpSpeed, 0));
Uses rigidbody's gravity and calls Jump() function when collides with the floor:
public void Jump(){
rigidbody.velocity = new Vector3(rigidbody.velocity.x, 0, 0);
rigidbody.AddForce (new Vector3(0, jumpSpeed * 50, 0));
}
But the trails acts weird just when the ball bounces with the floor:

My trail configuration is:

Can someone help me?
screenshot-2.png
(145.8 kB)
screenshot-3.png
(32.4 kB)
Comment
Your answer
Follow this Question
Related Questions
How to make bezier curve and trail effect for 2D puzzle game? 0 Answers
Trail Renderer shows in Game View but not when I build it 0 Answers
Moving objects leave a trail/ghosting/blur( Need Help) 1 Answer
Trail renderer jitter when using positionCount 0 Answers
Can't get a smooth following line 1 Answer