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

egp3DTracker does not function properly for EGP screens #2907

Open
Ally-for-Hire opened this issue Nov 25, 2023 · 0 comments
Open

egp3DTracker does not function properly for EGP screens #2907

Ally-for-Hire opened this issue Nov 25, 2023 · 0 comments

Comments

@Ally-for-Hire
Copy link

Ally-for-Hire commented Nov 25, 2023

Please note: This issue tracker is for bug reports
If your issue isn't a bug report, or if you are unsure whether it's a bug, please go to our discord channel instead at https://discord.gg/H8UKY3Y
If you are confident your issue is a bug, please fill in as much information as you can below.

Describe the bug
EGP 3d trackers on screens do not display in the correct location. I tested this with others e2s as well as one I made specifically for the test.

To Reproduce
Make an e2 with both an EGP hud and screen input
Make a 3D tracker for both elements
Parent both 3D trackers to the same entity
Position the 3D tracker in the same position for both

Example Code:

@name EGP 3D Tracking Tester
@inputs [EGPHud EGPScreen]:wirelink TargetPos:vector

if(first())
{
    EGPHud:egpClear()
    EGPHud:egp3DTracker(1, vec())
        EGPHud:egpParent(1, entity())
    EGPHud:egpCircleOutline(2, vec2(), vec2(20))        
        EGPHud:egpParent(2, 1)
    
    EGPScreen:egpClear()
    EGPScreen:egp3DTracker(1, vec())
        EGPScreen:egpParent(1, entity())
    EGPScreen:egpCircleOutline(2, vec2(), vec2(20))        
        EGPScreen:egpParent(2, 1)
}

EGPHud:egpPos(1, vec(600, 0, 0))
EGPScreen:egpPos(1, vec(600, 0, 0))

interval(100)

Expected behavior
The 3D tracker should be in the same location as the one on the HUD, instead it behaves very strangely

Screenshots
https://snipboard.io/pon096.jpg
https://snipboard.io/bLrmsu.jpg
https://snipboard.io/KGxcQL.jpg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants