Physics - applyForce to a body

If I have a spaceship capable of rotation, and wish to implement a thruster / engine do I have to use trigonometry to calc the x,y location FROM which to applyForce to the body ?

eg.

applyForceFromX = math.sin( math.rad(ship.rotation) ) * ammountForce

applyForceFromY = math.cos( math.rad(ship.rotation) ) * ammountForce

…or is there a quicker way ?

Presumably it’s like a rocket - i.e. the force always comes from the ‘bottom’ of the ship to always push it forwards?

In which case I don’t think these is any way to do it without using trigonometry, but you already have the equations there so at least you know how to do it already  :slight_smile:

Yes, exactly like a rocket. I was wondering if I was missing something instead of doing the trig.

Not to worry - having so much fun with this ‘toy box’ full of physics! Next up, joints!

Slightly off topic - does the new graphics engine offer any particle effects ? I need to add some to my project and was looking at a 3rd party solution to save time, but was curious if there were any tutorials to implement them myself ?

Not to my knowledge.
A free option would be CBEffects
If you are able to spend a bit of money on a program, then Particle Candy is a good option. I am using it myself.

Presumably it’s like a rocket - i.e. the force always comes from the ‘bottom’ of the ship to always push it forwards?

In which case I don’t think these is any way to do it without using trigonometry, but you already have the equations there so at least you know how to do it already  :slight_smile:

Yes, exactly like a rocket. I was wondering if I was missing something instead of doing the trig.

Not to worry - having so much fun with this ‘toy box’ full of physics! Next up, joints!

Slightly off topic - does the new graphics engine offer any particle effects ? I need to add some to my project and was looking at a 3rd party solution to save time, but was curious if there were any tutorials to implement them myself ?

Not to my knowledge.
A free option would be CBEffects
If you are able to spend a bit of money on a program, then Particle Candy is a good option. I am using it myself.