okay now i found out that flymode is another thing i thought ... what mentioned above was the noClip function. but the fly mode is similar tot he noclip but collision detection is active. thats okay for me but i dont want to fly through my building. now with the flymode i can walk the stairs, but i dont have to walk the stairs because i can fly ^^ thats not what i want ;)
On 17 Dez., 08:55, le_unam <[email protected]> wrote: > the documentation says about maxclimbheight: "The maximum height > difference allowed to bridge when a collision is found, used for steps > etc. Only used when calling move with flyMode set to true." > > why only used when fly mode is set to true? the flymode has no > collisiondetection, right? that makes no sense > > On 17 Dez., 08:20, le_unam <[email protected]> wrote: > > > please! :) > > > On 15 Dez., 15:25, le_unam <[email protected]> wrote: > > > > does really nobody has experience with walking stairs? ^^ > > > fabrice could you please try to help me again? > > > > On 14 Dez., 13:53, le_unam <[email protected]> wrote: > > > > > Fabrice can you please try to help me again? > > > > i found something in the bspcollider.as but it is set as comment, so > > > > its not active: > > > > > public function move(x : Number, y : Number, z : Number) : Vector3D > > > > { > > > > var newVelocity : Vector3D; > > > > // if (flyMode || _maxClimbHeight == 0 || y >= 0) { > > > > newVelocity = moveBy(x, y, z); > > > > // } > > > > // else { > > > > // in two steps to allow climbing stairs > > > > // newVelocity = moveBy(x, 0, z); > > > > > // do not apply downward force if we're > > > > already on solid ground > > > > // if (!_onSolidGround) { > > > > // newVelocity.y = moveBy(0, y, > > > > 0).y; > > > > if (_onSolidGround) > > > > newVelocity.y = 0; > > > > // } > > > > // else > > > > // newVelocity.y = 0; > > > > // } > > > > > is this where the walking stairs musst be uncommented or do you think > > > > it should work without doing that? maybe you can show me code where > > > > the climbing is defined so that i have a chance to think about. > > > > > thank you > > > > > On 13 Dez., 15:48, le_unam <[email protected]> wrote: > > > > > > hey i stil have the problem that i cant walk upstairs. my stairs are > > > > > added separately after creating the bsp tree. i set collider true and > > > > > i can jump up the stairs by hitting the space bar every step. but i > > > > > hope there is a better way for doing this ^^ > > > > > does anybody has an example for me where walking upstairs is used? > > > > > > would be nice. thank you!
