How to draw onscreen controls in panda 3d?
<p>I want to make a game in panda3d with support for touch because I want it to be playable on my windows tablet also without attaching a keyboard.
What I want to do is, find a way to draw 2d shapes that don't change when the camera is rotated. I want to add a dynamic analog pad so I must be able to animate it when the d-pad is used with mouse/touch.</p>

<p>Any help will be appreciated</p>

<p>Make those objects children of <code>base.render2d</code>, <code>base.aspect2d</code> or <code>base.pixel2d</code>. For proper GUI elements take a look at <code>DirectGUI</code>, for "I just want to throw these images up on the screen" at <code>CardMaker</code>.</p>

python panda3d