Browse Source

less big fucking magnet

shuvit 6 years ago
parent
commit
958dadd4b9
2 changed files with 4 additions and 4 deletions
  1. 1
    1
      bpy_misc/pushpuller-addon.py
  2. 3
    3
      grindV2.py

+ 1
- 1
bpy_misc/pushpuller-addon.py View File

@@ -30,7 +30,7 @@ class OBJECT_OT_pusher(bpy.types.Operator):
30 30
             area.spaces[0].text = text
31 31
             if text.filepath != '' and text.is_dirty:
32 32
                 bpy.ops.text.save() 
33
-                self.report({'INFO'}, "Saving")       
33
+                print("Saving: ", text.filepath)       
34 34
         self.report({'INFO'}, "Performing push")
35 35
         return {'FINISHED'}
36 36
 

+ 3
- 3
grindV2.py View File

@@ -43,8 +43,8 @@ def main():
43 43
     #print(roty)
44 44
     roty = abs(roty) 
45 45
     sub = 0
46
-    align_strength = .4
47
-    align_strength2 = .3
46
+    align_strength = .3
47
+    align_strength2 = .2
48 48
     touched = grindTouch.triggered
49 49
     lgf = own['last_grind_frame']
50 50
     gsf = own['grind_start_frame']
@@ -238,7 +238,7 @@ def main():
238 238
         #print("J grindvect: ", grindvect, "align: ", align)
239 239
         #z align
240 240
         #print("zalign") 
241
-        player.alignAxisToVect(grinder_vectz, 2, .25)                                                  
241
+        player.alignAxisToVect(grinder_vectz, 2, .15)                                                  
242 242
         
243 243
         if rot >= 0 and rot < 45:
244 244
             player.alignAxisToVect(grinder_vect, 0, align_strength)

Loading…
Cancel
Save