<|User's Guide|Axis Rods>

Arrow

See Javadoc

An Arrow provides a shape that indicates direction or placement.

In jME an Arrow is represented by a cylinder with a pyramid cap. To define the arrow, the length and width is provided. The arrow will always face (0, 1, 0), where the user will orient the arrow as needed using the Arrow's local rotation.

Example - Creating an Arrow

//Create a arrow with a length of 10 and width of 5
Arrow a = new Arrow("Arrow", 10, 5);

<|User's Guide|Axis Rods>


/var/www/wiki/data/pages/arrow.txt · Last modified: 2009/07/28 18:44 (external edit)  
Recent changes · Show pagesource · Login

Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki

subscribe to jME latest jme headlines


site design by bleedcrimson designs © 2008