Search the Community
Showing results for tags 'how to'.
-
Я начинающий в этом движке и не как ни могу понять как узнать позицию обьекта в пространстве, всю документацию пересмотрел и так и не понял как это сделать. Может я просто не могу найти тот класс который мне нужен? using System; using System.Collections; using System.Collections.Generic; using Unigine; [Component(PropertyGuid = "5ff39bf967441504a8a79c93dfaf78d64f635a3d")] public class Test : Component { private void Update() { Node node = World.GetNodeByName("Cuboid"); float worldPos = (float)node.GetWorldDirection(MathLib.AXIS.X); if (Input.IsKeyUp(Input.KEY.E)) { float TransformX = worldPos + 1.0f; Log.Message("Глобальная позиция:" + worldPos + "\n"); Log.Message("Координаты оси X:" + TransformX +"\n"); node.WorldTranslate(TransformX, 0.0f, 0.0f); } } }
- 2 replies
-
- documentation
- how to?
-
(and 8 more)
Tagged with:
-
Heaven benchmark architecture is it possible to start from it ?
Hibonaparte posted a topic in Getting started
Hi the Unigine Community, Amazing app, I am pretty amazed of all the possibilities you offer ! I tried to look for a similar subject on this forum but couldn't find anything related I have this game in mind for ages about a medieval time and when I saw your video of "Heaven Benchmark" I found it was so close that I wander if it is possible to start from this architecture... and change things from the already made off scenary ? Youtube - Unigine Heaven Benchmark 4.0 (originally released in 2009) Thanks for creating the world of tomorrow, Hibonaparte from France -
[SOLVED] how to break tank by another by playing tracker
mayur.patel posted a topic in UnigineScript
Hello, i need to make one scene about tank blast within breaking mesh dynamically. problem: When i play track... one tank fire bullet and break & blast another tank. please tell me the way to do it...... and run your mind to do it... I have to solve it......... Any solution? any sharp mind to solve? Find attachment of snapshots.... for my problem ???????? I'm waiting for solution.................and your reply what do you think about any idea/solution.