how to create a waypoint?

hi, how to create a free space in 3d?? with parameters x,Y,z

This... but corretly, please:

var waypoint1:Vector3; waypoint(14,2,22);

??????????????????????????????

Greetings

See the documentation for Vector3.

var waypoint = new Vector3(14, 2, 22);

But I think an empty game object would be easier to use, depending on your problem.

var waypoint : Transform;

That way you can move it around in the editor.

If you mean how to create a gameobject in the scene, invisible, that you can make have a tag of Waypoint to use for your game, then just do:

Game Object Create Empty

Then do what you want...

I guess that means "free space"... If you want to do this while playing, then Instantiate the object....