ユーザ用ツール

サイト用ツール


この翻訳は元のページよりも更新日が古く、内容が古い可能性があります。 変更点を参照して下さい。
Language:

サイドバー

en:vci:introduction

What is possible with VCI

This page summarizes what is possible with VCI.

  • Components allowed in VCI
  • What is possible with VCI script (Lua)

What's possible with items (VCI)

Rigidbody & Collider


Objects with a Rigidbody component attached will behave with physics.
A Collider component detects collision, which can be used as a trigger to execute scripts.

Rigidbody (Unity reference)
Collider (Unity reference)
* Details on VCI components


Grab


You can make items grabbable by configuring components in a SubItem.
You can also use grab as a trigger to execute scripts.

Event functions


Audio


You can play a sound by attaching an Audio component.
Also, you can control the play and the stop of the sound by script.

Audio Source (Unity reference)


Message feature


VCI items can send and receive messages (communication) to each other.
In addition to the communication between items, you can also receive some messages from the system as well.
You can receive comment information from streaming services.

Message system


Script (Lua)

You can write and use scripts in VCI.
You can use various event functions as well as variables and some of the standard library of the Lua.
You can easily acquire current time and generate a random number.


Joint

You can join items using Joint components.
You can replicate various behaviors of things like punching bag and pendulum.

Hinge Joint (Unity reference)
Use joint to create swinging items


What can a VCI background do?

A VCI background can use Colliders and RigidBody.
It can be seen as a VCI with Collider and RigidBody only.

You cannot use other components or scripts.


What can VCI script do?

  1. Change parameters of components available in VCI (with restriction)
  2. You can use some of the standard Lua libraries
  3. Run event functions
en/vci/introduction.txt · 最終更新: 2019/07/04 16:35 by navana

ページ用ツール