LogoLogo
Scripting DocsSupport
Sinespace
Sinespace
  • Welcome to Sinespace!
  • Quickstart
    • Get Started - Viewer
      • System Requirements
      • Viewer Installation
    • Get Started - SDK
      • SDK Setup
  • Sinespace Viewer
    • Viewer Basics
    • Home
    • Outfits
      • Outfit IDs
    • Socialising
    • Shopping
    • Audio Streaming
    • Settings
  • Sinespace SDK
    • SDK basics
    • Avatars
      • Clothing
        • Clothing Item Settings
        • Importing and Uploading Clothing
        • Designing Detailed Clothing
        • Layers Guide
        • Clothing Variations
        • Male Clothing Resource Files
        • Male Hair Resource Files
        • Female Clothing Resource Files
        • Female Hair Resource Files
        • Advanced Topics
          • Attachments Vs Skinned Clothing
          • Boots And Heels
          • Cloth Physics
          • How to upload avatars
            • Full Body Replacement Costumes (no custom animations)
            • Full Body Replacement Costumes (with custom animations)
      • Attachments
      • Uploading Tattoos
      • Skins
      • Gestures
        • Set Up
        • Single Person Animation
        • Multi-Person Animations
        • Animated Cameras
        • Props
        • Visual FX
      • Unified Clothing And Skin (Metal and Tessellate)
    • Animation
      • Animation Production Workflow
      • Animation Tools
    • Furniture
      • How to upload items as furniture
      • Adding Poses to Furniture
    • Games
      • Racing Games
      • Shooter games FPS
    • Quests
      • Two Step Quests
    • Regions
      • Upload Settings
      • Export Settings
      • Platform Settings
      • Submission
      • Management
      • Lighting
      • Lighting an Interior
      • Navigation bake
      • Occlusion bake
      • Post FX
      • Creating Web GL Friendly Regions
    • Vehicles
    • Components
      • General
      • List
      • Components by Function
      • AnimatedVendorConsole
      • AnimationVendor
      • ATM
      • AudioReactive
      • AvatarAnimationEffect
      • AvatarAudioEffect
      • AvatarEffect
      • AvatarEffectCamera
      • AvatarEffectCameraMovement
      • AvatarEffectLUT
      • AvatarEffectNPC
      • AvatarEffectObject
      • AvatarEffectSnapshot
      • AvatarMultiAnimationEffect
      • BoatPhysics
      • BoatVehicle
      • Browser Surfaces
      • Buoyancy
      • CarPhysics
      • CarVehicle
      • CatalogVendor
      • ClickableActivator
      • ClickableVendor
      • ClickableWebsite
      • Clothing Item Settings
      • Day/night cycle
      • EdyCompatibleVehicle
      • FocusCamera
      • FollowAvatar
      • GravityZone
      • HoverVehicle
      • InventoryVendor
      • LensFlareDistance
      • LightDistance
      • LookAtController
      • Mailbox
      • MusicZone
      • NPCCrowd
      • PlanePhysics
      • PlaneVehicle
      • Pool
      • ProductVendor
      • Proximity Activator
      • QuestCounterClickable
      • QuestCounterProximity
      • QuestDesigner
      • QuestGameObject
      • QuestNPC
      • RenamerNPC
      • SailStrip
      • SceneBackgroundMusic
      • SceneSaveSettings
      • SeatImproved
      • SliderPhysics
      • SliderVehicle
      • StartableClothingRequirement
      • StartableGestureRequirement
      • StartableItemRequirement
      • StartableRoomVisit
      • StartableSitRequirement
      • StartableSnapshot
      • StartableTeleport
      • StartableTimedCounter
      • Statue
      • StreamingBackgroundMusic
      • SubstituteAnimationZone
      • SyncedPhysicsDoodad
      • TeleportLocal
      • TeleportPad
      • TeleportWorld
      • TerrainHolePunch
      • Timer
      • Tip Jars
      • TrailForwardVelocity
      • UpgradeAccountNPC
      • VehicleRespawn
      • VehicleSpawnStation
      • Virtual Goods
      • VIPCollider
      • VoiceZone
      • Volumetric Light
      • WanderingNPC
      • Simple State Machine
      • Simple Networking
      • Vehicle Respawn Station
      • Vehicle Respawn
      • Vehicle Physical Animator
      • Clothing Previewer
      • Clothing Extra Pattern
      • Scripting Runtime
      • Speedometer
      • Modular Buoyancy
      • Meta Balls
      • Collider Trigger Activator
      • Move Object
      • Scripting Resources
      • Scripting Events
      • Scripting Data
    • Extensions
    • General Info
      • Certified Creators Program
      • Content Processing
      • Content Protection
      • Review Policies
      • Intellectual Property
      • Unity Portal
    • Creating A Shop
    • Creating Items
      • Making Animated Doors
      • Spawnable Objects: Uploading and Spawning Objects in Space
      • Creating Menus for Interactive Objects in SineSpace
    • Videos
      • Basic Clothes
      • Volumetric Lighting
  • Curator Dashboard
    • Overview
    • Items
      • Currencies
      • Editing Item Info
      • Item Statuses
    • Transaction
    • Payout
    • Grid Management
  • Sinespace API
  • Registration & Grid API
  • Grids
    • Grid Basics
    • White Label Grids
    • Grey Label Grid
    • Customisation
  • Templates
    • Avatar Templates
  • Policies
    • EULA
      • Curator EULA
      • Payment EULA
    • Review Policies
      • End-User License Agreement
    • Content Protection
    • Intellectual Property
  • More Info
    • FAQ
    • Bug Reporting
    • Support Tickets
  • World Streaming
    • Troubleshooting
    • Network ports and firewalls
    • MacOS Permissions
Powered by GitBook

Sinespace® is a registered trademark of Sine Wave Entertainment Ltd, All Rights Reserved.

On this page
  • Option 1 - Avatar Effect Camera Script
  • Option 2 - Avatar Effect Camera Movement Script
  • FBX settings

Was this helpful?

Export as PDF
  1. Sinespace SDK
  2. Avatars
  3. Gestures

Animated Cameras

PreviousMulti-Person AnimationsNextProps

Last updated 1 year ago

Was this helpful?

You can animate the camera in concert with the character animations in your gesture.

There are two options;

  • Avatar Effect Camera Script - create an animated path from a start and end point in Unity

  • Avatar Effect Camera Movement Script - import an animation for the camera from another application.

Option 1 - Avatar Effect Camera Script

This component is accessed via the Unity Component menu, then select Avatar Effects and then "Camera Follow Character".

Start position and Duration

You can set a start position and duration for the camera here.

Rails Type

Linear will move the camera straight from start point to end point. Rotation will move around the avatar.

Interpolation

Choose either Linear or Smooth.

Offsets

The offsets allow you to place the camera in relation to the avatar. Y+ is up. Z+ is forward.

So; X0, Y1, Z2 will put the camera 1 meter above ground, 2 meters in front of the avatar.

Tracking Options

The tracking options will animate the camera in line with the selected bone (Tracking target).

Tracking Target

Start / End Avatar - For two person gestures you can move the camera target from one avatar to the other.

Start - End Target - You can move the camera's focus from one bone to another over the duration of the gesture.

Option 2 - Avatar Effect Camera Movement Script

This component is accessed via the Unity Component menu, then select Avatar Effects and then "Camera Follow Path".

You can apply animation from an fbx file to the camera using the Avatar Effect Camera Movement Script.

Legacy Animation Clip

Drag the fbx file containing your animation into the Legact Animation Clip field. See below for FBX settings.

Child name

The name of the camera in your FBX file

Focus name

The name of the camera target in your FBX file

Tweak Axis

Unity's orientation is;

Y+ = Up

Z+ = Forward

If your files export from your animation editor with a different orientation you can align to achieve your desired orientation using the Tweak Axis fields.

Offset / Ignore rotation

Use these if you want to make universal adjustments to the animation in the editor.

Start time / End time

Set the end time to the same as your animation file.

FBX settings

Add keyframes at start and end

Before you import your fbx file it needs to contain two animated objects; a Camera and Camera Interest.

Please ensure that for both objects there is a keyframe at the start and end of the track;

A screenshot from Motion Builder

Copy Field of View data to Camera Scale X

Before you import your fbx file please copy the field of view information into the Camera object's X scale track.

The Legacy Animation rig that sinespace uses to apply the animation to the user's camera inworld, does not pick the data directly from the Field of View track in your animation editor.

A screenshot from Motion Builder

Import settings

When you import your FBX file, open the Rig tab in the Inspector.

Set the Animation Type to Legacy Animation Clip.

Set Generation to Store in Root (new)