Jump to content

Spawn Point


Matt Duffield
 Share

Recommended Posts

Hi everybody,

I have a quick question.  I am creating some models in Blender.  I have created some empty objects in my model to represent spawn points when the game is playing.  I am loading the export from Blender using the AssetManager.  I grab my asset and then find my main mesh and assign all other meshes' parent to my main mesh. 

When I run the game in debug mode, I can see the labels of my mesh parts and the whole model moves correctly.  However, when I try to use one of the spawn points, left_gun, they always spawn from where my object originally was created.  I would have thought since I can see the spawn points attached to my main object correctly that their position would be updating and moving according to the parent.

I tried to grab the parent's position and offset it by the left_gun position but it was still off. It became even worse whenever I rotated the parent object.

I am sure this is a simple fix but I am trying to get this simple spawn point mechanism to work so that I can accurately represent bullets/rockets/etc.

Thanks in advanced,

Matt

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...