Oh lovely, I knew dynamics would be fun from the start. I'm having
another problem. Nothing is being treated as a solid. If you need to see
or try my code, it can be obtained with "bzr branch lp:grandwing". In
src/appgrandwing.cpp, I have StartDynamics() and LoadPlayerCharacter()
where a lot of the physics setup occurs. I think the problem may be in
LoadPlayerCharacter(), so here is the code regarding physics there:

  firo_dynbody = dynSys->CreateBody ();
  firo_dynbody->SetProperties (1, csVector3 (0), csMatrix3 ());
  firo_dynbody->SetPosition (firo_sprite->GetMovable ()->GetTransform
().GetOrigin ());
  firo_dynbody->AttachMesh (firo_sprite);

I also tried adding firo_dynbody->AttachColliderSphere (1.5, csVector3
(0), 10, 1, 0.8f); but that didn't fix anything. If anyone has any ideas
on how to help, please let me know. Thank you.
-- 
                                                              Sincerely,
                                                          Braden Walters


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: 
mailto:[email protected]?subject=unsubscribe

Reply via email to