Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AngelScript: new script 'example_ImGui_nodeHighlight.as' #3155

Merged
merged 3 commits into from
Jun 1, 2024

Conversation

ohlidalp
Copy link
Member

obrazek
Showcases existing and new API to get node info.

EXISTING:

* actor.getNodeCount()
* actor.getWheelNodeCount()
* actor.getNodePosition(int nodenum)

NEW:

* actor.isNodeWheelRim(int nodenum)
* actor.isNodeWheelTire(int nodenum)

Showcases existing and new API to get node info.

EXISTING:
```
* actor.getNodeCount()
* actor.getWheelNodeCount()
* actor.getNodePosition(int nodenum)
```

NEW:
```
* actor.isNodeWheelRim(int nodenum)
* actor.isNodeWheelTire(int nodenum)
```
@ohlidalp
Copy link
Member Author

ohlidalp commented May 30, 2024

I added node selecting with mouse (LMB click to select/unselect).
This is only in the script, the game doesn't know about it at all.

obrazek

Copy link
Collaborator

@CuriousMike56 CuriousMike56 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍
RoR_2024-05-30_22-16-33

@ohlidalp ohlidalp merged commit b17ceab into RigsOfRods:master Jun 1, 2024
2 checks passed
@ohlidalp ohlidalp deleted the example_nodehighlights branch June 1, 2024 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants