Set Entity Position

Everything related to 3D programming
pfaber11
Enthusiast
Enthusiast
Posts: 145
Joined: Sat Apr 13, 2019 12:17 pm

Set Entity Position

Post by pfaber11 »

How do I set the position of an entity. Thanks for reading .
Edit
What I'm looking for is something like SetEntityPosition(1,x,y,z) but I can't find the command to do this .
Any help would be appreciated.
User avatar
STARGÅTE
Addict
Addict
Posts: 2090
Joined: Thu Jan 10, 2008 1:30 pm
Location: Germany, Glienicke
Contact:

Re: Set Entity Position

Post by STARGÅTE »

The command is MoveEntity(#Entity, x, y, z [, Mode]) with the mode: #PB_Absolute
PB 6.01 ― Win 10, 21H2 ― Ryzen 9 3900X, 32 GB ― NVIDIA GeForce RTX 3080 ― Vivaldi 6.0 ― www.unionbytes.de
Lizard - Script language for symbolic calculations and moreTypeface - Sprite-based font include/module
pfaber11
Enthusiast
Enthusiast
Posts: 145
Joined: Sat Apr 13, 2019 12:17 pm

Re: Set Entity Position

Post by pfaber11 »

Thankyou I'll try it now.
Thanks very much for that it worked straight away.
Post Reply