View Issue Details

IDProjectCategoryView StatusLast Update
0008024New Feature Requests[All Projects] Generalpublic2018-09-13 18:13
ReporterGallardo9944Assigned To 
PrioritynormalSeveritytweakReproducibilityalways
Status newResolutionopen 
PlatformPCOSWindows / Linux (Wine)OS Version
Summary0008024: [Tweak] Add optional edgeTolerance in getScreenFromWorldPosition instead of forced one
Description

Some scripts would require edgeless positions e.g. if you want to create a custom arrow pointer to some part of the world regardless the camera movement. So edgeTolerance is a problem in such situations, this way it's better to make it optional.

TagsNo tags attached.

Activities

ccw

2014-02-11 06:22

administrator   ~~0020186

Don't understand

Gallardo9944

2014-02-11 19:49

viewer   ~~0020193

@ccw, as wiki says, edgeTolerance is a float value, which means it's forced, but in some cases, in some scripts, it has to be disabled for full functionallity without any issues. edgeTolerance has to be optional to avoid problems while coding.

ccw

2014-02-11 23:40

administrator   ~~0020195

Have you tried a high edge tolerance?

Gallardo9944

2014-02-12 12:47

viewer   ~~0020201

Tried 10 of X size and max int value. It still returns false when out of the screen.

ccw

2014-02-13 09:55

administrator   ~~0020217

The function returns false when the point is behind the camera.
Try this:
https://wiki.multitheftauto.com/wiki/GetScreenRotationFromWorldPosition

Issue History

Date Modified Username Field Change