Make object moving like spiderman HELP!

Still working on Beyblade game :slight_smile:
Soo I think this would be good for making a beyblade climb some tree and similar cuz I know a lot of you had already tried spiderman shatered dimension :smile:
What I want is to create a beyblade moving like when you press a button to jump and you are going strait to some tree beyblade comes closer and climbs the tree :slight_smile:
Any better idea or help me with this one :stuck_out_tongue:

One approach is to take all of the points where your character collides with the ground, the tree, etc…and average the normals. Align your character to those normals if he needs to climb on the walls or such.

You may have to create a custom character controller to handle movement. Gravity should only kick in if your character jumps/falls and isn’t ‘attached’ to anything.

Any script example cuz I am not really good and I dont really have a lot of time :slight_smile:
I am 3ds max modeler :smile:

Well then you have a few choices:

  1. Learn scripting.
  2. If your in a team, have the programmer do it!
  3. If your not it a team, go to the collaboration forum and create one. If you can find a decent programmer, it will speed up development quite a bit compared to doing it yourself when you don’t want to.

I don’t think many people here would write the script just for you, but then again, I’m new here.

sorry but Dman insted of giving opptions on other ways for everyone to get help just give out help.

I appreciate the insight.

Maybe I’m just too used to some other forums, but from what blackdragonstory said, I believe that it would be worthwhile for him to get a partner, as his problem seems to be a bit larger than what can be fixed through the forum. Also, as I said, I’m new here. Thanks for the warm welcome.

I’m sorry ninjafrog but instead of being incomprehensible just be comprehensible.
Dman’s suggestions are other powerful ways of acquiring help, and they’ll result in far better results than the forum will likely provide, especially when the request is something that depends so much on how the game is built.

There are many, many ways of making something go up something else. Trigger zones, distance checks, collision checks, raycasts… Have you tried anything? Do you have anything for us to build off of?

What I would suggest is creating a trigger box around the base of the tree. While the beyblade is inside the trigger (OnTriggerEnter / OnTriggerExit to change the state), they can switch to “tree climbing mode” which changes the input to move it differently.

TreeBox.js

function OnTriggerEnter( other : Collider ) {
  var bb : BeyBlade = other.GetComponent(BeyBlade);
  if ( bb ) {
    bb.closeTree = this;
  }
}

function OnTriggerExit( other : Collider ) {
  var bb : BeyBlade = other.GetComponent(BeyBlade);
  if ( bb ) {
   bb.closeTree = null;
  }
}
BeyBlade.js

var closeTree : TreeBox;
enum MovementMode { Normal, Climbing }
var movementMode : MovementMode;
var keyClimb : KeyCode;

function Update() {
  switch ( movementMode ) {
    case MovementMode.Normal: 
      // use normal input movements
      if ( closeTree  Input.GetKeyDown( keyClimb ) {
        movementMode = MovementMode.Climbing;
      }
      break;
    case MovementMode.Climbing:
      // climbing controls
      if ( closeTree  Input.GetKeyDown( keyClimb ) {
        movementMode = MovementMode.Normal;
      }
      break;
  }
}

Thanks you all guys for help :slight_smile:
Finally we got us a new coder soo I’ll let him make the magic :stuck_out_tongue:
Vicenti thanks that is a good idea I would maybe figured it out sooner but I got better in modeling that I didnt had time to think about scripting and Unity :smile:
I will post here at this forums when we release our first beta that will come out in this year I hope :slight_smile: