Hello Guest

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - JunkmanCollector

Pages: [1]
1
Thanks for the links. ;) I started to think about the lifts and platforms, but has not yet reached it. So far, only jumps. There are still many problems that I have to solve.

2
Support / Re: CharacterController Player Sliding
« on: August 09, 2013, 06:58:26 am »
I could not understand some of the behavior of the Character Controller, at this point I had to give it up and go back to the Capsule Collider and Rigidbody. About the displacement along the axis of Z, I blocked it using a script.

3
All was cool. But the Character Controller are solving one problem has added many other, such as:
So I went back to my old script and added only one line before AddForce.
Code: [Select]
HeroBody.transform.position = new Vector3(HeroBody.transform.position.x, HeroBody.transform.position.y + 20, 0);And again it became cool.  ;D

4
Thanks a lot! It helped.

5
Support / The problem with the character relating to several Collider
« on: August 07, 2013, 01:21:28 pm »
Hello.
I have the following problem. There is a character, the character moves through the level. Make jumps. The character have Rigidbody and Box Collider. If its Collider contact with only one another Collider, then all is well, but if in contact with two or more (for example, a character stands on two boxes at the same time), then the force of the jump is reduced two times approximately. Why is this happening?

Jump code:


Code: [Select]
void HeroJump() {
if (HJump == false) {
HJump = true;
HeroBody.rigidbody.AddForce(new Vector3(0, 28000, 0));

GlobalGameSettings.SharedInstance.HeroAction = "jumpUp";
}
}

Pages: [1]