I've developed some standard iPhone apps and some Cocos2d apps and i now want to move into the world of physics.
As my 1st task i want to simulate how to fire an arrow towards a stationary target positioned ahead of the player in the Z direction, with the arrow flying in an arc towards the target and the player looking straight at the target.
Can anyone give me some pointers on how to accomplish this please?
- How do i define the target? static btRigidBody?
- How do i define the arrow? btVector3 and btSpereShape?
- How can i define wind affecting the arrow while in the air?
Thanks in advance.
Shooting an arrow towards a target in the Z direction
-
- Posts: 3
- Joined: Sun Nov 08, 2009 11:59 pm