Jump to content

newaged

Members
  • Posts

    31
  • Joined

  • Last visited

Posts posted by newaged

  1. I used the editor to change the scale. The player never dropped through the terrain when doing that, but after it fell for a short distance it would punch right through.

  2. I noticed that scaling down players in torquescript made them fall through the terrain constantly.

    I changed this

    Point3F Player::_move( player.cpp around line 4670 ) {
    ....
    if (mFabs(distance.x) < mObjBox.len_x() &&
       mFabs(distance.y) < mObjBox.len_y() &&  
       mFabs(distance.z) < mObjBox.len_z())  
    { 
    

    to this

    if (mFabs(distance.x) < mScaledBox.len_x() &&  
      mFabs(distance.y) < mScaledBox.len_y() &&  
      mFabs(distance.z) < mScaledBox.len_z())  
    { 
    

    and the problems stopped.

    I don't know if this is something I should make a PR for, and I am not good enough with C++ or the engine to know if there is a better way to solve the problem, so I am bringing it up here.

  3. So I tested out GMK ragdolls with the development branch using bullet. Spawning them in anywhere other then (0,0,0) does not seem to be supported at the moment, and they tend to wiggle and bounce constantly.

×
×
  • Create New...