Game Development Community

iTGB 1.2 BUG: Mounting attributes not sticking or reverting to default

by BeyondtheTech · in iTorque 2D · 06/01/2009 (9:25 am) · 6 replies

It's an annoyance that's been driving me a little batty: when making adding or removing objects to a scene/level, or mounting/dismounting objects, the "Track rotation," "Owned by Mount," and "Inherit Attributes" seem to turn themselves back on for certain objects. I have to go around to all the objects to turn them off again.

#1
06/02/2009 (7:19 pm)
This is absolutely frustrating. I was trying to line up some mounted objects by moving the parent's link point, and all the child objects ended up with those three features checked. It's a real annoyance I need them to turn off manually and individually, but with these features enabled, they're all listening to the parent object and not the script.

I was looking for some attributes in the T2D file in TextEdit so I can "find & replace," but couldn't reference them. Can anyone help?
#2
06/03/2009 (8:53 am)
I'm not completely sure what your doing but I had trouble lining up mounted objects at locations that I wanted relative to the object i mounted to.

What I do is calculate where I want the mounted object to be in world coordinates using the world position of the object I'm going to mount it to. I then convert this position to the local point of the object and mount to that offset. I don't have access to my code but that solved all my frustrating problems related to mounting.
#3
06/10/2009 (9:51 am)
But, this is still considered a bug IMO. I'm hoping someone from GG can acknowledge this.
#4
06/24/2009 (1:12 pm)
I'm not sure if this is iTGB specific. If this same problem exists in stock TGB, we are going to have to move this to the TGB forum as a bug/discussion.

Does the issue still persist?
#5
06/24/2009 (1:18 pm)
Yes, I can easily replicate this issue.

  1. Create a parent object with linkpoints.
  2. Create a few child objects and mount to the parent object. Uncheck all the settings for inherit, track rotation, etc.
  3. Modify the parent object, specifically move a link point.
  4. Go into any of the child objects, and you'll see that they're all checked again.

I don't have the stock TGB to check, but it's definitely in iTGB on both Mac and Windows.
#6
09/11/2011 (2:59 am)
If anyone cares, this bug is still present in iTGB1.5 preview 2. All i need to do is click the Edit this Objects Link Points on the parent object and then click [Save] and all the children's mount settings ("Track rotation," "Owned by Mount," and "Inherit Attributes") turn themselves back on.