Search the Community
Showing results for tags 'trigger'.
-
Hi everyone, I started make video tutorials for Unigine 2.11.0.1 , You can see & use , This is my playlist about unigine, and I hope useful for you. Get started with 8 hours of free video tutorials full of tips you want. Playlist 1 Playlist 2 With respect Ahmad Karami a computer teacher/ author book / test engineer / solo game developer
- 8 replies
-
- 1
-
- ahmad karami
- unigine
-
(and 94 more)
Tagged with:
- ahmad karami
- unigine
- unigine2
- unigine editor 2
- tutorials
- video
- material
- objects
- terrain
- time
- lighting
- scripting
- advanced tutorial
- full tutorial
- download unigine
- install unigine
- setup unigine
- c sharp
- showcase
- demo
- help
- decal
- water
- sea
- ocean
- import
- hackathon
- build project
- particle
- particle system
- all settings
- collision
- physics
- physic
- physics ocean
- fog
- flower
- grass
- time of day
- day
- night
- wind
- field spacers
- fieldshoreline
- field shore line
- trigger
- destructible mesh
- code
- distance two object
- animation
- animation loop
- cloudlayer
- cloud
- clouds
- time lapse
- vr
- panorama
- render settings
- dof
- ray tracing
- global illumination
- cpp
- c-sharp
- examples
- text
- 3d text
- show
- hide
- message
- light
- point light
- spot light
- area light
- cloth
- clutter
- clothbody
- cloth body
- ripple effect
- gui
- ui
- sound
- soundsource
- sound sources
- audio
- sky
- field
- volume
- volumebox
- materials
- node
- water mesh
- water_base
- water pool
- احمد کرمی
- احمد کرمی بوکانی
- پدر علم بازی سازی
-
Hello, I am trying to remove multiple trigger created by following code And I am using trigger.setEnterCallback(0) to remove the PhysicalTigger but I am facing an issue in removing them. Below mentioned is the scenario. The trigger.setEnterCallback(0); works if I have only one trigger, but when I have more trigger it is not working. int size = 0; for(int x = 0; x <= size; x++) { ObjectMesh mesh = add_editor(new ObjectMesh("TestWork/assest/worlds/meshes/sphere_00.mesh")); mesh.setWorldTransform(translate(Vec3(x, 0, 0.25f))); } For each mesh Object I place an Physical Trigger using my custom object "trigger" over it's location & set respective callback (Enter & Leave) trigger.setEnterCallback("enter_callback", x); Now I am set triggerEnterCallback(0, x) in enter_callback() function after all my operation are done in this function But the trigger is till existing, how can I remove the trigger in above mentioned problem. Thanks