Can I have pointer to force? like for gravity?
I want to simulate "wind tunnel" where object in front of other object has higher wind resistance applied.
If one object outruns another the force changes.
I could achieve this by applying "difference" of the previous force and current:
cpBodyApllyForce(cpv(previouswindForce - currWindForce),cpv(0,0))
I havent tried it yet but it seemed like a dirty solution.
It would be really cool if I could have a pointer to force like with gravity.
Changing force (Pointer to Force)
-
- Posts: 1
- Joined: Sat Jul 05, 2014 6:14 am
- Contact:
Who is online
Users browsing this forum: No registered users and 15 guests