Placeable
This component belongs to the following package:
- com.yahaha.sdk.horrorprops
This Placeable component allows an object to be positioned within the game scene by the player.
Properties
- Use Global Distance: Determines whether to use default global placement distance. Enabled by default.
- Placeable Distance: Determines the maximum distance at which the player can place the objec. Ranges from 0.1 to 10. Default: 1.5. This option is only available when Use Global Distance is disabled.
- Surface Slope: Determines the maximum angle of a surface on which the object can be placed. Ranges from -90 to 90. Default: 45.
- Item Rotation: Specifies the initial rotation of the object when placed, relative to the player's orientation. Default: 0,0,0.
Trigger
Action:
- Place: Place an object.
Related components
This component must be used with Interactable, which enables player interaction with game objects.