0

I'm developing a very simple tennis game using Nape:

A rigid object (a tennis racket) follows the mouse coordinates and hits another object that has the property of bouncing.

I read many examples of Nape, but I don't know how to setup the tennis racket: which properties I must use when I create the "Body()" instance of the racket.

Any tutorial, snippet or advice is welcome friends,

thanks.

Miguel Lara
  • 183
  • 1
  • 12

1 Answers1

0

I would think the demos on the Nape page should get you going pretty well. There's code for all of them there.

http://napephys.com/samples.html#

Looks to me like the basic simulation one would be a good starting point since the circle is much like a tennis racket.

David Mennenoh
  • 290
  • 3
  • 15