I’m pretty new to jMonkeyEngine, and I wanted to know how to get the position of a Spatial.
I want to create a scoring system, based on when a spatial falls off the plane.
My first guess was to use the update method and add 1 to a public int, when the spatial’s Y falls below the plane’s spatial Y.
The only thing I can’t find, is how to get this Y position.
With kind regards,
We have good tutorials, press F1 in the SDK or check the “Documentation” link at the top of this page.