This page has been translated automatically.
Видеоуроки
Интерфейс
Основы
Продвинутый уровень
Подсказки и советы
Основы
Программирование на C#
Рендеринг
Профессиональный уровень (SIM)
Принципы работы
Свойства (properties)
Компонентная Система
Рендер
Физика
Браузер SDK 2
Лицензирование и типы лицензий
Дополнения (Add-Ons)
API Samples
Редактор UnigineEditor
Обзор интерфейса
Работа с ассетами
Контроль версий
Настройки и предпочтения
Работа с проектами
Настройка параметров ноды
Setting Up Materials
Настройка свойств
Освещение
Sandworm
Использование инструментов редактора для конкретных задач
Расширение функционала редактора
Встроенные объекты
Ноды (Nodes)
Объекты (Objects)
Эффекты
Декали
Источники света
Geodetics
World-ноды
Звуковые объекты
Объекты поиска пути
Player-ноды
Программирование
Основы
Настройка среды разработки
Примеры использования
C++
C#
UnigineScript
Унифицированный язык шейдеров UUSL (Unified UNIGINE Shader Language)
Плагины
Форматы файлов
Материалы и шейдеры
Rebuilding the Engine Tools
Интерфейс пользователя (GUI)
Двойная точность координат
Справочник API
Animations-Related Classes
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
VR-Related Classes
Работа с контентом
Оптимизация контента
Материалы
Визуальный редактор материалов
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Учебные материалы

Complex Solutions


This sample showcases a flexible arcade-style interaction system, built with UNIGINE's C# API. It presents foundational gameplay mechanics commonly used in shooter, and action-style applications. The project serves both as a beginner-friendly learning resource and a base for prototyping more advanced features such as basic non-player behavior or scoring logic.

Core Features:

  • Player Controller: Control a robot character with keyboard input for movement and rotation.
  • Projectile System: An automated turret fires projectiles using raycasting for hit detection and visual impact effects.
  • Enemy Turret: A rotating turret that periodically shoots projectiles at the player.
  • Health System: The robot takes damage and is destroyed when health reaches zero, with corresponding visual effects and cleanup.
  • Node Spawning & Deletion: Bullets and particle effects are dynamically created and removed, with timed destruction to manage scene performance.
  • Visual FX (Optional): Includes particle effects for shooting, impact, and destruction events.

Use Cases:

  • Game Prototyping: Provides a foundation for building shooter mechanics, or arcade-style gameplay.
  • Physics & Interaction: Demonstrates raycasting-based hit detection.
  • Learning Tool: Ideal for beginners exploring the UNIGINE C# API and gameplay scripting.

SDK Path: <SDK_INSTALLATION>data/csharp_component_samples/complex/arcade

This sample demonstrates how to build a physics-based robotic arm with a kinematic chain composed of six links: one fixed and five movable. Each movable link is connected via a hinge joint (JointHinge) and driven by a motor that responds to keyboard inputs.

The arm's end effector is a magnetic gripper capable of grabbing, holding, and releasing dynamic objects in its environment. The gripper and each joint can be controlled independently via key bindings, which are configurable and demonstrated in the Controls section.

This setup provides a flexible starting point for creating custom robotic arms with any required number of degrees of freedom (DoF). You can replace manual input with a control system (e.g., inverse kinematics, AI, joystick, or ROS integration) to adapt the robot arm to your specific use case.

Use Cases:

  • Simulation & prototyping of industrial robotic manipulators.
  • Educational environments to teach principles of robotics, joint control, or physics-based animation.
  • AI training for robotic arms using reinforcement learning or motion planning.
  • Human-machine interfaces: test robotic interaction with dynamic environments.
  • Virtual reality robotics simulations or operator training.

SDK Path: <SDK_INSTALLATION>data/csharp_component_samples/complex/robot_arm

Accessing Demo Source Code#

You can study and modify the source code of this demo to create your own projects. To access the source code do the following:

  1. Find the C# Component Samples demo in the Demos section and click Install (if you haven't installed it yet).
  2. After successful installation the demo will appear in the Installed section, and you can click Copy as Project to create a project based on this demo.
  3. In the Create New Project window, that opens, enter the name for your new project in the corresponding field and click Create New Project.
  4. Now you can click Open Code IDE to check and modify source code in your default IDE, or click Open Editor to open the project in the UnigineEditor.

The information on this page is valid for UNIGINE 2.20 SDK.

Last update: 13.12.2024
Build: ()