All Questions
138 questions
2
votes
1
answer
40
views
Miscalculating midpoint of 3 objects?
I have a problem with a script which is calculating the middle point of 3 objects A, B and D.
When I move B in between D and A, the C object should be in location of B, but it is a fair amount on ...
0
votes
1
answer
50
views
How to fix calling a scipt from a controller that doesn't work, but running it in the text editor does?
I'm using UPBGE-0.36.1 on Windows 11. I installed a new python module (OpenCV) using the following commands in the UPBGE python console:
...
0
votes
1
answer
57
views
How to invert game theme colour?
I wish to make a black/white UI theme in my current project , but setting object colour to all the UI lags the game a bit and takes forever for me to do it.
To achieve this I had to connect every ...
0
votes
1
answer
66
views
Can Script using object work as what "make single user" does?
A while ago I’ve read about what “Make Single User” does and tested it. Which was totally amazing and mind blowing.
e.g. later I learned about few Python scripts with which it is possible to move UV ...
0
votes
1
answer
219
views
How to edit speed on python script?
This might be a very simple problem but my knowledge on programming is limited to logic bricks. I ironically have a player script which determines the speed of my character and was wondering how I can ...
0
votes
1
answer
624
views
How to increase character movement velocity over time? (UPBGE)
I found a 3D character controller setup online and one thing I wanted to ask is how to make movements smoother by easing velocity. Is there a way to edit the python script to make acceleration and ...
0
votes
1
answer
120
views
how to send property value as a message sent by multiple object?
i was working on a game and i need to send multiple property values from different objects through different scenes using message body set to "property"
any ideas ?
0
votes
0
answers
455
views
capture data from different cameras
I need this for my video game that I want to start on in Blender Game Engine.
I have not figured out how to use multiple cameras and make them give data out without them being active cams or without ...
1
vote
0
answers
43
views
Open and close hand in variable speed?
I have a hand simulator running at a constant speed. Hand opens and closes according to EMG data from USB connection. I added the project running at constant speed below. I have to make this simulator ...
1
vote
1
answer
30
views
Determining the object detected in sensor
Is there a way to determine which object has been detected with the sensor?
For example, if the owner's collisions sensor turns positive, is it possible to get the object collided with?
Something ...
0
votes
1
answer
112
views
how can I share variables between glsl and python in the bge?
I am currently writing a glsl shader in the bge,
My question is, if I have glsl embedded into my python script, how can I if possible share memory/variables between my glsl and my python so the below ...
0
votes
1
answer
31
views
0
votes
1
answer
57
views
Object persisting in scene after endObject is called
I have a problem with objects that have their endObject method called persisting in the scene even after the next frame is called.
The game is a basic shooter where at the end of every game I need to ...
0
votes
1
answer
254
views
How to play multiple actions using action actuator?
There is some actions that i created for a human character like walk, jump and saying bye. I want to play these actions one after one using action actuators or any other way. I mean if i want to play ...
1
vote
0
answers
53
views
Problem with playAction()
hey i want to play more than one action one after one according to user preferred action. I mean, if user wants to play ‘run’ and ‘jump’ actions, then it should play first ‘run’ action then after that ...