Chuyển tới nội dung chính

77 tài liệu đã gắn thẻ được gắn thẻ "object"

Xem tất cả thẻ

BeginObjectEditing

Allows a player to edit an object (position and rotation) using their mouse on a GUI (Graphical User Interface).

CreateObject

Creates an object at specified coordinates in the game world.

DestroyObject

Destroys (removes) an object that was created using CreateObject.

GetObjectRot

Use this function to get the objects current rotation.

MoveObject

Move an object to a new position with a set speed.

OnObjectMoved

Callback này được gọi khi một đối tượng di chuyển sau khi MoveObject (khi nó ngừng di chuyển).

OnPlayerEditAttachedObject

Callback này được gọi khi một người chơi kết thúc chế độ chỉnh sửa đối tượng gắn kết.

OnPlayerEditObject

Callback này được gọi khi một người chơi kết thúc việc chỉnh sửa một đối tượng ([BeginObjectEditing](../functions/BeginObjectEditing)/[BeginPlayerObjectEditing](../functions/BeginPlayerObjectEditing)).

OnPlayerObjectMoved

Callback này được gọi khi một đối tượng của người chơi được di chuyển sau khi MovePlayerObject (khi nó ngừng di chuyển).

OnPlayerSelectObject

Callback này được gọi khi người chơi chọn một đối tượng sau khi dùng BeginObjectSelecting.

SetObjectMaterial

Replace the texture of an object with the texture from another model in the game.

SetObjectRot

Set the rotation of an object on the three axes (X, Y and Z).

StopObject

Stop a moving object after MoveObject has been used.