IJCT
Best I can tell from looking at the events is they have to be done in order, and triggers can be run at any time.
Basically the the three events are:
"every tick" which calculates the stating velocities
"the input check" which launches an actual physics object with the calculated velocities
"the loop" which takes the calculated velocities and simulates physics steps to find the path of the ball.
So if you want to launch a ball with a trigger such as a function you need to run the every tick event first somehow. Could be as simple as copying it.
thanks! i did figure out a way to do it, im doing an angry birds clone just for learning so thats why i was needing the help, what i did it was this:
this can simulate a trigger input, so if everyone needs help doing this, they can just do that (the variable "resortera" means slingshot in spanish is just a condition for a state in my project so you can ignore it)
thanks a lot for the capx, it helped me a lot, i did some small modifications to it to have a more realistic angle and i may upload a demo so everyone can see the small tweaks i did