Skip to content

Commit

Permalink
features only on new explorer
Browse files Browse the repository at this point in the history
  • Loading branch information
nearnshaw committed Jan 10, 2025
1 parent e242bf2 commit 41ecb3e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
4 changes: 3 additions & 1 deletion content/creator/sdk7/3d-essentials/camera.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ As a creator, you can have full control over the player's camera. By default, pl
Virtual cameras can be static, they can rotate to always look at the player or some other entity, or they can be attached to the player or some other entity so that they're always accompanying.

{{< hint warning >}}
**📔 Note**: To switch between the default 1st and 3rd person cameras, see [Camera modifier areas]({{< ref "/content/creator/sdk7/interactivity/avatar-modifiers.md#camera-modifiers">}}).
**📔 Note**: Virtual cameras are a feature that's only supported in the DCL 2.0 desktop client.

To switch between the default 1st and 3rd person cameras, see [Camera modifier areas]({{< ref "/content/creator/sdk7/interactivity/avatar-modifiers.md#camera-modifiers">}}).
{{< /hint >}}

## Using virtual cameras
Expand Down
4 changes: 4 additions & 0 deletions content/creator/sdk7/3d-essentials/sounds.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,10 @@ AudioSource.create(sourceEntity, {

By default, all sounds from an `AudioSource` are positional. This means they appear to generate from the position of the `Transform` component, and will sound louder as the player walks closer. But you can also configure a sound to be global, so that the volume is constant, no matter where the player is standing. This is ideal for using on background music, notification sounds, and other non-positional sound.

{{< hint warning >}}
**📔 Note**: Global Sounds are a feature that's only supported in the DCL 2.0 desktop client.
{{< /hint >}}

To make a sound global, set the `global` property to _true_.

```ts
Expand Down
4 changes: 4 additions & 0 deletions content/creator/sdk7/interactivity/input-modifiers.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ weight: 8

You can restrict what actions the player can do in your scene. Use it to freeze the player, or to only restrict specific ways of locomotion, for example to prevent the player from jumping or running.

{{< hint warning >}}
**📔 Note**: Input Modifiers are a feature that's only supported in the DCL 2.0 desktop client.
{{< /hint >}}

## Freeze the player

You can freeze the player so that none of the input keys can move the avatar. This can be useful for many game mechanics. It's also a good practice to freeze a player while performing an important animation that shouldn't be interrupted by movement, or while a [Virtual Camera]({{< ref "/content/creator/sdk7/3d-essentials/camera.md" >}}) points away from the avatar and you don't want the player to move blindly.
Expand Down

0 comments on commit 41ecb3e

Please sign in to comment.