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

problems with orientation block #88

Open
pou123 opened this issue Aug 19, 2024 · 1 comment
Open

problems with orientation block #88

pou123 opened this issue Aug 19, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@pou123
Copy link

pou123 commented Aug 19, 2024

Description

the orientation block in modes, tracking player and tracker, tracking tracker, and tracking camera return 0 or -0 which both cannot be used, as 0 multiplied is always 0 and because 0 can not return a logic signal

Severity

medium

Steps to reproduce the bug

orientation block connected to WS or AD converter then connected to number or logic block will return 0, -0 or no logic signal respectively

Expected vs observed behavior

either 1/-1 depending on left/right, up/down or the rotation required to face the direction of tracking thing

Attachments

Essential information

  • Mod version: guessing the newest, not sure how to check
  • Game version: 0.6.6

Issue checklist

  • [x ] I have thoroughly searched this repository for similar issues. Duplicates will be closed.
  • [x ] I have set an appropriate title for this issue
@pou123 pou123 added the bug Something isn't working label Aug 19, 2024
@TechnologicNick
Copy link
Member

Did you check the decimals? It's a floating point number that's afaik always between -1 and 1, so it's like 0.24234724 when you're standing not exactly in front of it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants