Start point on map

Panda3D Forum Index -> Pipeline Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
avkak911


Posts: 4

PostPosted: Fri May 16, 2008 7:56 pm    Post subject: Start point on map Reply with quote
Im new to Panda and Im trying to figure a few things out. My goal first of is to create a small project where I have a character who can walk trough a created map. Kinda like Roaming Ralf.

1. If I create a map in one of the following programs Maya/Blender/XSI how do I create a start_point that Panda will recognize like it does in Roaming Ralf?

2. Can anyone assist me in creating a basic code for this? Im not good at coding as my codeing abilities is more website programming like asp/php. I am better at modeling.
rdb
pro-rsoft

Posts: 5836
Location: Netherlands

PostPosted: Sat May 17, 2008 1:15 am    Post subject: Reply with quote
Create a mesh with just one vertex, make sure the pivot of the mesh is exactly at that vertex. Call the mesh "start_point". In your code, you can retrieve the start_point using yourWorldModel.find("**/start_point"), as is explained in the Roaming Ralph demo.
Display posts from previous:   
Post new topic   Reply to topic    Panda3D Forum Index -> Pipeline All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group