Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Fri Apr 19, 2024 9:50 pm
All times are UTC + 0
Attaching an Object to another object?
Moderators: Global Moderators
Post new topic   Reply to topic Page 1 of 1 [3 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Madin
Plasma Trooper


Joined: 05 Apr 2009

PostPosted: Sun Sep 22, 2013 2:25 am    Post subject:  Attaching an Object to another object?
Subject description: Solved!
Reply with quote  Mark this post and the followings unread

I am wondering how I would go about attaching one object to another object?

I will give further detail of my plan: I have a static base defence that I would like to spawn an object that will attach to a specific bone on the base defence.
This object will be a dummy object (no visible art), that will carry a couple of 'KindOf' that are needed, but cannot be on the parent 'GameObject' (specifically I am looking for a carrier of the 'BEAM_TARGET_REFLECTOR' so I can get around hard coded issues, specifically that the beam is hard coded to target the base geometry of the object which has the 'BEAM_TARGET_REFLECTOR' KindOf).

It is important that the dummy object is attached to the bone I specify, so I do not think I can use a simple 'SlavedAttachUpdate'.

I know that others have got buildings that can get objects attached to them, any ideas?

Last edited by Madin on Mon Sep 23, 2013 12:54 pm; edited 1 time in total

Back to top
View user's profile Send private message
Bibber
Disk Thrower


Joined: 31 Aug 2007
Location: Germany

PostPosted: Sun Sep 22, 2013 11:14 am    Post subject: Reply with quote  Mark this post and the followings unread

AttachUpdate

but as you need a special bone maybe a SpawnBehavior with CombineOnCreate="true" is the right thing for you as you can specify the docking bone in the CombinedInfoModule.

_________________

Back to top
View user's profile Send private message Visit poster's website
Madin
Plasma Trooper


Joined: 05 Apr 2009

PostPosted: Sun Sep 22, 2013 2:53 pm    Post subject: Reply with quote  Mark this post and the followings unread

Bibber wrote:
AttachUpdate

but as you need a special bone maybe a SpawnBehavior with CombineOnCreate="true" is the right thing for you as you can specify the docking bone in the CombinedInfoModule.


Thanks! I will look into what you have suggested.

Edit: This worked fine, thanks!

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
Quick Reply
Username:


If you are visually impaired or cannot otherwise answer the challenges below please contact the Administrator for help.


Write only two of the following words separated by a sharp: Brotherhood, unity, peace! 

 
You can post new topics in this forum
You can 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
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1438s ][ Queries: 11 (0.0080s) ][ Debug on ]