# Trying to achieve a torque affect but running into some issues.

**URL:** <https://forums.solar2d.com/t/trying-to-achieve-a-torque-affect-but-running-into-some-issues/349785>\
**Category:** Physics\
**Created:** [April 22, 2019, 6:19pm UTC](https://forums.solar2d.com/t/trying-to-achieve-a-torque-affect-but-running-into-some-issues/349785 "2019-04-22T18:19:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kieron.mcdougall8473](https://forums.solar2d.com/letter_avatar_proxy/v4/letter/k/ecc23a/32.png) [@kieron.mcdougall8473](https://forums.solar2d.com/u/kieron.mcdougall8473)\
**Post date:** [April 22, 2019, 6:19pm UTC](https://forums.solar2d.com/t/trying-to-achieve-a-torque-affect-but-running-into-some-issues/349785/1 "2019-04-22T18:19:02Z")

</div>

Hey all,

I’m pretty new to Corona and Lua as a language but I’m trying to make a start on my own game. However, I am running into an issue that I’m hoping one of you may have a solution to.

In my game, I have a ball that collides with a static object which is a paddle. I want the ball to rotate after it collides with the paddle and this works to an extent. I have set my balls bounce to 1 and set the paddle to 0 and I know that this keeps it bouncing to the same height each time. The problem really comes when I apply torque to the ball. When the ball hits the paddle I want the ball to bounce back up (as it does) and I also want it to rotate the image. However, I am finding with using the object:applyTorque my ball does spin as intended however each time it collides with my paddle it jumps higher and higher each time.

If anyone has any ideas of a way to stop this from happening, or if I should be using a different function please let me know.&nbsp;

Thanks for taking the time to read this 🙂

---

<div class="post-metadata">

**Author:** ![sporkfin](https://forums.solar2d.com/user_avatar/forums.solar2d.com/sporkfin/32/30_2.png) [@sporkfin](https://forums.solar2d.com/u/sporkfin)\
**Post date:** [April 23, 2019, 2:10pm UTC](https://forums.solar2d.com/t/trying-to-achieve-a-torque-affect-but-running-into-some-issues/349785/2 "2019-04-23T14:10:49Z")

</div>

My guess would be the that force from the torque is “spilling over” into the collision or creating an immediate secondary collision.

Suggestions:

1. add [angular damping](https://docs.coronalabs.com/api/type/Body/angularDamping.html) to the ball

2. try playing around with [angular impulse](https://docs.coronalabs.com/api/type/Body/applyAngularImpulse.html) instead of torque - it might feel more natural

3. apply the torque or angular impulse with a delay so the rotation is applied after the bounce has started&nbsp;

---

<div class="post-metadata">

**Author:** ![sporkfin](https://forums.solar2d.com/user_avatar/forums.solar2d.com/sporkfin/32/30_2.png) [@sporkfin](https://forums.solar2d.com/u/sporkfin)\
**Post date:** [April 23, 2019, 2:10pm UTC](https://forums.solar2d.com/t/trying-to-achieve-a-torque-affect-but-running-into-some-issues/349785/3 "2019-04-23T14:10:49Z")

</div>

My guess would be the that force from the torque is “spilling over” into the collision or creating an immediate secondary collision.

Suggestions:

1. add [angular damping](https://docs.coronalabs.com/api/type/Body/angularDamping.html) to the ball

2. try playing around with [angular impulse](https://docs.coronalabs.com/api/type/Body/applyAngularImpulse.html) instead of torque - it might feel more natural

3. apply the torque or angular impulse with a delay so the rotation is applied after the bounce has started&nbsp;
