Change the size of the character
Last updated
Last updated
As mentioned in the section, the local scale of the character should be <1,1,1> always. In order to modify the size of the character, you can use the following CharacterActor methods:
Changes the size of the actor without checking for obstacles.
It performs an overlap test using the target size.
It performs an overlap test using the target size. If the test is valid (a.k.a no obstacles detected), it changes the size.
It performs an overlap test using the target size. If the test is valid (a.k.a no obstacles detected), it begins to lerp the size from current to target size.