Applying forces in love.physics?

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
Ace (SWE)
Prole
Posts: 5
Joined: Tue Aug 26, 2008 7:38 am

Applying forces in love.physics?

Post by Ace (SWE) »

Been looking for a way to apply a force to a physical body, couldn't find anything in the documentiation.

What I'm looking for is a way to apply a force to the outer rim of a ball in a direction set by the rotation of the ball.
I already have the neccesary formulas to find the points and directions neccessary but I lack the knowledge of any applyForce functions.

Function I'm looking for would be applyForce(body, x, y, direction, force) where x and y would be a position on/outside of the body.

[edit]

I fail at reading the documentation :lol:

Found a similar function to what I was looking for, sorry to bother you :oops:
DogManJr
Prole
Posts: 1
Joined: Sun Jul 22, 2018 9:33 pm

Re: Applying forces in love.physics?

Post by DogManJr »

Post the solution please!
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests