Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Hot answers tagged

3 votes
Accepted

X axis intersection with inverted Y axis coordinates

This is way too complicated. Let's say the screen center is at (0,0), the asteroid coords are x,...
user avatar
  • 1,875
2 votes
Accepted

How to inherit from a custom node of a gdnative plugin, in gdnative?

At some level we could argue for Godot being data oriented (e.g. the code inside the "servers", such as VisualServer and so on), or we can argue that the ...
user avatar
  • 18.1k
1 vote
Accepted

D3D11 CreateInputLayout error: CREATEINPUTLAYOUT_UNPARSEABLEINPUTSIGNATURE

hr = m_pDevice->CreateInputLayout(ied, length, m_vs.Get(), vsLength, m_input.ReleaseAndGetAddressOf()); The m_vs.Get() ...
user avatar
1 vote
Accepted

Detect if actors are inside another actor with custom shape

I was able to achieve what I wanted. To check if the sphere is inside my triangle mesh, I've used raycasting from the center point into (0.0f, 1.0f, 0.0f) direction (which can be random). The point is ...
user avatar
  • 111
1 vote

Rotate Sprite towards mouse cursor SDL

...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible