A little progress report

Moderators: Trylon, Paradox

Re: A little progress report

Postby Marcello » Wed Jan 09, 2008 3:30 pm

Maybe Trylon has implemented a fourth person camera!!!!
User avatar
Marcello
 
Posts: 374
Joined: Sun Nov 04, 2007 8:59 am
Location: Haarlem, The Netherlands

Re: A little progress report

Postby Trylon » Wed Jan 09, 2008 3:45 pm

fore example - but those don't require parenting, but rather animation support :P (though we can still do simple animations in python)

I was referring more to adding a fixed camera to a moving object - and then the camera would move along with the object.

I already experimented with parenting kickables to various other objects (parenting it to other kickables doesn't really work btw)
Should be interesting to see what parenting kickable to a a camera does.
oh, parenting lights and sprites (lamp glares) to kickables works already btw.

Hmm - a kickable, parented to a light, a sound emitter and a lamp glare sprite. Does anyone smell "kickable!"?

Oh, btw - I got swimming regions working again. Problem was in getting the physics for it just right...
One day I ran through the cleft for the fiftieth time, and found that uru held no peace for me anymore.
User avatar
Trylon
 
Posts: 1446
Joined: Fri Sep 28, 2007 11:08 pm
Location: Gone from Uru

Re: A little progress report

Postby Aloys » Wed Jan 09, 2008 5:00 pm

When you say 'parenting' how does that actually work in Blender? Just selecting two objects (or more) and hitting ctrl-P?
It's not that simple? (please tell me it's not :( :( :( )

It is.
Well, you have to enable the "actor" flag on those objects as well, since that actually gived them a coordinate interface, but that's all.
User avatar
Aloys
 
Posts: 1855
Joined: Sun Oct 21, 2007 7:57 pm
Location: France (GMT +1)

Re: A little progress report

Postby Chacal » Wed Jan 09, 2008 8:14 pm

wtf is parenting?
Chacal


"The weak can never forgive. Forgiveness is an attribute of the strong."
-- Mahatma Gandhi
User avatar
Chacal
 
Posts: 2437
Joined: Tue Nov 06, 2007 2:45 pm
Location: Quebec, Canada

Re: A little progress report

Postby Nadnerb » Wed Jan 09, 2008 8:25 pm

It is where one object (the "child") inherits transforms from it's "parent", with the effect of "attaching" the child to the parent. Hence, when the parent moves, the child moves, when the parent rotates, the child rotates around the parent, when the parent is scaled... well, we don't really want to do that, do we? :?

Firemarbles, as mentioned before, are a good example of parenting. It is a spherical kickable, parented to a glow/flare sprite, a light, and probably a sound emitter. When you kick the parent kickable, the other stuff follows.
Live KI: 34914 MOULa KI: 23247 Gehn KI: 11588 Available Ages: TunnelDemo3, BoxAge, Odema
Nadnerb
 
Posts: 1057
Joined: Fri Sep 28, 2007 8:01 pm
Location: US (Eastern Time)

Re: A little progress report

Postby Chacal » Wed Jan 09, 2008 8:47 pm

Ah yes I see. Thanks.

/me wants a camera parented to the butterflies in Relto.
Chacal


"The weak can never forgive. Forgiveness is an attribute of the strong."
-- Mahatma Gandhi
User avatar
Chacal
 
Posts: 2437
Joined: Tue Nov 06, 2007 2:45 pm
Location: Quebec, Canada

Re: A little progress report

Postby Marcello » Wed Jan 09, 2008 11:55 pm

Can parenting be interactive? Like being turned on and off on the fly? What I'm getting at is that at some point we want to make the avvie move with another moving object. Like a cart, an elevator, whatever. I assume the same process is applied there.
User avatar
Marcello
 
Posts: 374
Joined: Sun Nov 04, 2007 8:59 am
Location: Haarlem, The Netherlands

Re: A little progress report

Postby Grogyan » Thu Jan 10, 2008 12:31 am

Chacal wrote:Ah yes I see. Thanks.

/me wants a camera parented to the butterflies in Relto.


Thats an interesting experiment, a moving camera associated with the butterflies looking at the avatar.

Ooh, even better, submitting this idea to Cyan to add to an existing page or associate it to a new one for MOUL.
Better to have loved and lost than never to have loved at all
User avatar
Grogyan
 
Posts: 1203
Joined: Thu Oct 11, 2007 1:27 am

Re: A little progress report

Postby Nadnerb » Thu Jan 10, 2008 1:14 am

Marcello wrote:Can parenting be interactive? Like being turned on and off on the fly? What I'm getting at is that at some point we want to make the avvie move with another moving object. Like a cart, an elevator, whatever. I assume the same process is applied there.
The situations you describe are implemented as "subworlds" in uru. Basically, the camera and the avatar are parented to the subworld, which moves relative to the rest of the age. This effect is used most heavily in Gahreesen for the rotating buildings. (which are also inside the subworld) However, the effect goes farther than that because of the way it is implemented. Colliders inside the subworld occupied by the local avatar are considered static by the physics system, and the rest are ignored. So really, subworlds reverse-parent the rest of the world when you enter them, moving the world around you and keeping you still.

I don't know of any near-future plans by the plugin devs for subworld support though. ;)
Live KI: 34914 MOULa KI: 23247 Gehn KI: 11588 Available Ages: TunnelDemo3, BoxAge, Odema
Nadnerb
 
Posts: 1057
Joined: Fri Sep 28, 2007 8:01 pm
Location: US (Eastern Time)

Re: A little progress report

Postby Marcello » Thu Jan 10, 2008 12:30 pm

Nadnerb... you aren't sending any hints towards those hardworking plugin writers are you ;) ;)

Because if you aren't... I will :twisted:
User avatar
Marcello
 
Posts: 374
Joined: Sun Nov 04, 2007 8:59 am
Location: Haarlem, The Netherlands

PreviousNext

Return to Scripting Journal

Who is online

Users browsing this forum: No registered users and 1 guest

cron