View unanswered posts | View active topics It is currently Fri Jan 10, 2025 12:04 am



Reply to topic  [ 4 posts ] 
 Is the angle of an attachment changable? 
Author Message
User avatar

Joined: Thu May 28, 2009 3:59 pm
Posts: 209
Reply with quote
Post Is the angle of an attachment changable?
I am trying to attach bits to a main object, and they attached bits stick out at the exact angle that they are in the source sprite. Is it possible to change the angle that they stick out from the main object they are attached too without editing the sprite?
Or am I just going to have to edit the sprite?

Best case I am looking to have the attachments dangle, but I think I read elsewhere that attachments are joined to the parent like a weld rather than a hinge.


Thu Jun 11, 2009 7:54 pm
Profile
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post Re: Is the angle of an attachment changable?
Yes, joints are more welds than hinges. In fact, that's exactly what they are.
As far as I know, the only way to rotate attachables before gametime is to change the sprite. If it were possible, rotation would be accomplished by a matrix, like emitters.


Thu Jun 11, 2009 7:59 pm
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Is the angle of an attachment changable?
Rotation = Matrix
AngleDegrees = XXX

No guarantee it'll work.


Thu Jun 11, 2009 8:09 pm
Profile
User avatar

Joined: Mon Apr 13, 2009 12:27 pm
Posts: 813
Location: Yogyakarta, Indonesia. A slice o' paradise.
Reply with quote
Post Re: Is the angle of an attachment changable?
I've tried attaching stuff with Rotation = Matrix like Grif said, but it'll snap off by its own. So yeah, you have to change the sprite for now.


Fri Jun 12, 2009 3:13 am
Profile YIM WWW
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.031s | 13 Queries | GZIP : Off ]