Original Post
Hi, I'm trying to implement a component based system in my game. I have a human object, that will have components like location, visualization, skeleton, etc.. However, I also have ragdoll physics setup, such that there is a physics actor (typically with a capsule shape) for each bone in the skeleton. Now I could be wrong, but it seems that each physics actor should be an object. My question is, how should I setup the human object to work with the ragdoll physics? It seems that objects can't have other objects define them, only components can define an object, hence I understand this would work: But I don't think I can do this (have objects within the object): The thing that is confusing me is each physicsActor in theory could be it's own game object, each with a position, visualization, etc. But maybe I shouldn't treat each physicsActor as an object, this has been driving me crazy. Thanks for any help. [Edited by - trs79 on June 20, 2007 10:07:41 AM]
Object: Human
Component1: location
Component2: visualization
...
Object: Human
Component1: location
Component2: visualization
ObjectList: physicsActor1, physicsActor2, physicsActor3, etc.