Skip to content

October 2021

unity

[Unity] Let Objects Follow The Player Character

Last Updated on 2021-10-31 by Clay

If you want to make objects that follow the player’s movement in Unity, such as pets or coffins (?), then we can use List<Vector3> data type variables to store the player’s moving route (that is the position that exists at each point in time). And keep the position of the object that you want to follow the player updated.

Read More »[Unity] Let Objects Follow The Player Character

[Solved][Python] Numpy Erorr: ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()

Last Updated on 2021-10-30 by Clay

When using Numpy format data for conditional judgment, sometimes we get the following error message:

ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
Read More »[Solved][Python] Numpy Erorr: ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()