How to create a start point position for your maps/models useing blender and Panda3D. When I was following the Roaming Ralph sample code I was unable to recreate the world model to use the start point value. This is how to do it.
Create a Vertex or plane, any thing, in the place where you want your start_point to be.
Make sure that you are in Object Mode not edit. Press F7 which will take youto the Object Panel (See Left) and change the name of the object to “start_point” (See Right)
Export useing chiken to egg, and check to see if it worked by pressing “Shift + L”, check the command line to see if it says something like, PandaNode start_point T:m(pos -6.71705 9.45356 5.36108)
You should now be able to get the position of the start point by doing something like this. self.environ.find("**/start_point").getPos()
With help from here and here. Hope this helps someone. Comments welcome ^_^
30 Aug 2009 | Tags ( 3D Programming blender game dev modeling tutorial )
Website Last Updated on 4 Oct 2024 (CC BY-SA 4.0)
This site uses JQuery and nanogallery2 hosted by jsdelivr.net
for the Flickr photo feed and GoatCounter for user insights.