HalfKiloByte
  • Member for 6 years
  • Last seen more than 4 years ago
Apply force to a specific point
5 votes

You are looking for applyImpulse. applyImpulse(point, impulse, local=False) Applies an impulse to the game object. This will apply the specified impulse to the game object at the specified point. If ...

View answer
Export video from Game Engine scene
Accepted answer
4 votes

There is no checkbox called "Dump framebuffer to disk", so you will have to use a script for this. The core idea from that old forum thread is good, call bge.render.makeScreenshot() every frame with ...

View answer
How do I gently bend 4 bottle sides inward simultaneously to create a uniform dent?
3 votes

May I suggest a Lattice? Create a Lattice object, and link it to the bottle with a Lattice modifier on the bottle object. Set the Lattice object to an acceptable resolution, and in Edit mode, move ...

View answer
Placing an animated object over video
3 votes

Look under Render Options for the Shading settings. Alpha is set to "Sky" by default, which will remove transparency from your rendered image by filling it with the sky gradient colors (by default a ...

View answer
Why do the cubes in my Rubiks cube move into each other?
Accepted answer
3 votes

You have nine separate objects selected, and "Add Keyframe" made animation curves for each object. Because they are separate, each goes it's own way, on separate lines. You can see the orange dots ...

View answer
File - Import Export menu is dangerous
2 votes

Since the v2.5 rewrite, much of the Blender GUI is defined by Python scripts. That means it can be changed with only a text editor, no compiler setup needed. But you will need write rights to modify ...

View answer
Imported Objects and UV Maps
2 votes

When you import an object from another .blend file with Link or Append from the File menu, it comes with all linked datablocks, so UV maps, materials, textures, and various others will be also ...

View answer
Make 2 Objects Have Same Rotation
2 votes

If you just want to copy the rotation values, there is "Copy Rotation" in the Constraints tab, no need for Python scripts. If you need it for a Python script, objects have rotation_euler, ...

View answer
Is there a way to automatically add faces in proper places to this mesh?
Accepted answer
1 votes

If you are using a mirror modifier, you will need edges exactly at the mirror boundary. If you have Clipping enabled on the modifier, you can quickly duplicate any edge or vertex and move it towards ...

View answer
Blender textures are rendered on each triangle individually
Accepted answer
1 votes

When the mesh does not have an UV map, the polygons still have default UV coordinates. The default maps the whole 2D texture to the entire polygon. That's why every face separately repeats what you ...

View answer
How to define diagonal directions?
Accepted answer
1 votes

As I hit any of the keys, a force is added to its direction. This makes them separate. But you say you want them combined. So combine them. Don't apply them immediately, but gather them together, ...

View answer
How do you make a character navigate along a grid in the BGE?
1 votes

The Game Engine is by default a 3D rigid body simulator, so such constraints, like forcing objects to grid positions and limiting movement to one unit along one axis at a time, will have to be ...

View answer
Is it possible to replicate a location constraint in the BGE?
Accepted answer
1 votes

Constraints are available, as actuators, but seem to be working strangely. The constraint clearly has an effect, but it's not the hard boundary I would expect. The cube is still falling at a slow ...

View answer
Is it possible to change material overtime by keyframes in swipe effect?
1 votes

Blender allows you to animate values of materials and textures. You can add keyframes to the sliders/numbers in the Materials and Textures GUI. Changing from one texture to another could be done by ...

View answer
How to set a context value
0 votes

I'm assuming this is a line from a draw() function. row.operator("object.shade_smooth", text="Smooth", icon="SMOOTHCURVE") The first argument is an identifier for an operator. It is not a Python ...

View answer
How can I make transparency act as expected with the internal renderer?
0 votes

This is a strange phantom issue that I will never learn how to solve. It totally depends on what you want to do with the image. There is the case when the branch outlines go away, but a bright outline ...

View answer
Process meshes that have multiple users only once in script
0 votes

I think names are unique for each data type in a scene, so use those. Either that set should be a dict with names of meshes as keys, or collect the names of processed meshes into a separate set and ...

View answer