Jump to content

Stigma Games 2

Members
  • Posts

    2
  • Joined

  • Last visited

Stigma Games 2's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. In an effort to teach myself, I've done your tutorials and started doing something similar with a ball, floor and walls. I'd be interested in any suggestions or advice as you run into it. Here's what I'm doing now. b ball = Model::Sphere(); ball->SetMaterial(boxMaterial); ball->SetPosition( 0, 0, -1 ); //ball->SetVelocity(Vec3(1,1,1)); ball->AddForce(-30000,0,0); Shape* ballShape = Shape::Sphere(0,0,0, 0,0,0, 1,1,1); ball->SetShape(ballShape); ball->SetMass(10); ballShape->Release(); ball->SetPhysicsMode(Entity::RigidBodyPhysics); ball->SetCollisionType(Collision::Prop); Dean Witcraft Lots of programming experience, 0 game development
  2. What are the valid values and purpose(s) for flags? I can't seem to find documentation on it. -- Dean Witcraft
×
×
  • Create New...