Hi,
The co-ordinates are from self position 0.00 and to 2.00
The reason i cant use world position is that the character is controlled that way.
Right, i understand what you are saying in your 2 steps. But how do i use '(add force - action)'?
..............................................................................
I found this script which looked ok (but doesnt jump smoothly). Can this be made with playmaker?
using UnityEngine;
using System.Collections;
public class jump : MonoBehaviour {
public float forward, up;
public float maxForward = 10, maxUp = 10, speedForward = .01f, speedUp = .01f;
public bool jumpBool;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
if (Input.GetKeyUp(KeyCode.Space))
{
jumpBool = true;
}
if (jumpBool)
{
if (forward <= maxForward)
forward+=speedForward;
if (up <= maxUp)
up +=speedUp;
transform.position = new Vector3 (transform.position.x + forward, transform.position.y + up, 0);
}
}
}
Sorry for all the questions.
Nick