Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Ivmi-Builder
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Damien Marchal
Ivmi-Builder
Commits
eab7b69a
Commit
eab7b69a
authored
1 year ago
by
Florent Berthaut
Browse files
Options
Downloads
Patches
Plain Diff
Update readme
parent
16cbeda1
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+10
-5
10 additions, 5 deletions
README.md
with
10 additions
and
5 deletions
README.md
+
10
−
5
View file @
eab7b69a
...
@@ -80,15 +80,20 @@ Attach a script to it and start it with :
...
@@ -80,15 +80,20 @@ Attach a script to it and start it with :
```
python
```
python
extends
IvmiScene
extends
IvmiScene
func
_ready
()
:
super
.
_ready
()
func
_process
(
delta
)
:
super
.
_process
(
delta
)
```
```
Then your scene tree can look like :
Then your scene tree can look like :
*
Main (with attached script extending IvmiScene)
*
Main (with attached script extending IvmiScene)
*
ARV
ROrigin
*
X
ROrigin
*
ARV
RCamera
*
X
RCamera
*
ARV
RController
*
X
RController
*
MeshInstance
*
MeshInstance
You can also directly attach the script extending IvmiScene to the ARVROrigin
You can also directly attach the script extending IvmiScene to the ARVROrigin
...
@@ -117,9 +122,9 @@ func _ready():
...
@@ -117,9 +122,9 @@ func _ready():
_add_property
(
"
selected
"
,
[
0
])
_add_property
(
"
selected
"
,
[
0
])
func
_
set_property
(
prop
,
vals
)
:
func
set_property
(
prop
,
vals
)
:
#call default properties handling
#call default properties handling
.
_
set_property
(
prop
,
vals
)
super
.
set_property
(
prop
,
vals
)
#handle custom properties
#handle custom properties
if
prop
==
"
selected
"
:
if
prop
==
"
selected
"
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment