This extension adds Forces, Impulses for normal and objects with physics behavior, adds other features as well such put objects around anothers, or distance constraints.
it still stuff to be fixed and added until the official release and pull request.
if you want to edit this extension, please, DO NOT make an pull request in the gdevelop repo.
any bug, feature request, or question you should send it here or in my post in the discord server.
always thank you!!
download and future documentation here:
pukosnds/gdExt.3DPosAndForces: Gdevelop’s extension for forces and positions.
1 Like
Download it here:
Release 0.17.0
ADDITION
added an function to check iwhich side of an object the camera is looking.
Condition, and two expression functions
condition check the side directly
If is lookin at "Front" of an object
functions return that value
Looking at "Front"
Looking at 0
both condition and string function give you the choice 4 sides and 8 sides
if you want an custom amount of sides you can use the number function(since will return an number)
it works like this:
Choose the object
Choose the ZToleration (to check if is looking at top or bottom, altho it is returned as “Up” and “Down”. 0 will ignore the top and bottom checking)
Choose how many sides (4 or 8)
Choose Layer
Choose the side that will be searched (Expressions doesn’t have this)
than the condition should be something like this:
Check if camera is seeing "Left" side of Object in layer "", with ZToleration 100 and sides 4
expressions should be like this
ForcesAndPositions3D::SideOfObject(Object, 0, 8, "")
or
ForcesAndPositions3D::SideOfObjectNum(Object, 0, 8, "")
for example, you can change an sprite animation based on that
2 Likes