| .:
Send Message To Host - PART 1 :. |
Cult3D Project File Size: 407 KB Download File |
![]() |
The event map is very simple, first we add and connect a World start event to the camera with an action Interactivity Mouse/Keyboard navigation.
After we build 3 expression and add properties to the camera, containers object and box object.
Camera properties :
1) To get camera position we add a Sub Properties STRING to
the camera
translation. 2) To receive the
Send Message To Host we add a property called Cam_resultat
type STRING, this properties receive all messages and properties
from Cult3D and send it to HTML page for javascript. 3) And after we add
a property called Change_Msg type STRING,
this property have a default value "," (comma), DON'T
FORGET TO ADD THE COMMA !! Camera expression :
1) To finish the first part of this tutorial, we build an expression called camera. 2) Give a name to this expression, and drag and drop the camera -> CamPos property + the camera -> Change_Msg property. 3) and last drag and drop the camera -> Cam_result property. Go to part 1 - Go to part 2 - Go to part 3 - Go to part 4 - See final result
|